@@ -255,7 +255,7 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
props.onSelect?.(option)
}}
onMouseOver={() => {
- const index = filtered().findIndex((x) => isDeepEqual(x.value, option.value))
+ const index = flat().findIndex((x) => isDeepEqual(x.value, option.value))
if (index === -1) return
moveTo(index)