mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-01 14:52:25 +00:00
fix(app): list component jumping when mouse happens to be under the list and keyboard navigating. (#9435)
This commit is contained in:
@@ -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)
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user