From d0c0234b2338785979db16741c48620f412e6dda Mon Sep 17 00:00:00 2001 From: Yuchao Wu Date: Thu, 11 Apr 2024 22:33:26 +1000 Subject: [PATCH] fix(VSelect): auto scroll to selected item when using hotkeys fixes #19574 --- packages/vuetify/src/components/VSelect/VSelect.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/vuetify/src/components/VSelect/VSelect.tsx b/packages/vuetify/src/components/VSelect/VSelect.tsx index 8f10f8ea1b4..5994891febf 100644 --- a/packages/vuetify/src/components/VSelect/VSelect.tsx +++ b/packages/vuetify/src/components/VSelect/VSelect.tsx @@ -302,7 +302,7 @@ export const VSelect = genericComponent { + watch([menu, model], () => { if (!props.hideSelected && menu.value && model.value.length) { const index = displayItems.value.findIndex( item => model.value.some(s => props.valueComparator(s.value, item.value))