fix(app): list component jumping when mouse happens to be under the list and keyboard navigating. (#9435)

pull/5339/head
Joseph Campuzano 2026-01-19 10:43:27 -06:00 committed by GitHub
parent 4ee540309f
commit 72cb7ccc00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}}
>