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