diff options
| -rw-r--r-- | packages/ui/src/components/list.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/ui/src/components/list.tsx b/packages/ui/src/components/list.tsx index 631b3e33a..bfe3440ea 100644 --- a/packages/ui/src/components/list.tsx +++ b/packages/ui/src/components/list.tsx @@ -206,6 +206,7 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void }) setActive(props.key(item)) }} onMouseLeave={() => { + if (!store.mouseActive) return; setActive(null) }} > |
