Skip to content

Commit

Permalink
fix(VList): don't takeover focus control when target is INPUT
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Apr 21, 2024
1 parent 42e482f commit 468a9c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/vuetify/src/components/VList/VList.tsx
Expand Up @@ -205,7 +205,9 @@ export const VList = genericComponent<new <
}

function onKeydown (e: KeyboardEvent) {
if (!contentRef.value) return
const target = e.target as HTMLElement

if (!contentRef.value || target.tagName === 'INPUT') return

if (e.key === 'ArrowDown') {
focus('next')
Expand Down

0 comments on commit 468a9c1

Please sign in to comment.