diff --git a/packages/ui/src/components/list.tsx b/packages/ui/src/components/list.tsx index bfe3440ea..b8a8f7460 100644 --- a/packages/ui/src/components/list.tsx +++ b/packages/ui/src/components/list.tsx @@ -206,7 +206,7 @@ export function List(props: ListProps & { ref?: (ref: ListRef) => void }) setActive(props.key(item)) }} onMouseLeave={() => { - if (!store.mouseActive) return; + if (!store.mouseActive) return setActive(null) }} >