Skip to content

Commit d6b3384

Browse files
authored
fix(VNumberInput): keep focus when incrementing in the list (#21824)
resolves #17083
1 parent 059e578 commit d6b3384

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/vuetify/src/components/VNumberInput/VNumberInput.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ export const VNumberInput = genericComponent<VNumberInputSlots>()({
266266

267267
if (['ArrowDown', 'ArrowUp'].includes(e.key)) {
268268
e.preventDefault()
269+
e.stopPropagation()
269270
clampModel()
270271
// _model is controlled, so need to wait until props['modelValue'] is updated
271272
await nextTick()

0 commit comments

Comments
 (0)