diff --git a/components/vc-select/OptionList.tsx b/components/vc-select/OptionList.tsx index 85f61bf4a..a9a188507 100644 --- a/components/vc-select/OptionList.tsx +++ b/components/vc-select/OptionList.tsx @@ -141,7 +141,7 @@ const OptionList = defineComponent({ if (!props.multiple && props.open && props.values.size === 1) { const value = Array.from(props.values)[0]; const index = props.flattenOptions.findIndex(({ data }) => data.value === value); - // setActive(index); + setActive(index); scrollIntoView(index); } // Force trigger scrollbar visible when open