fix(app): list component jumping when mouse happens to be under the list and keyboard navigating. (#9435)
parent
4ee540309f
commit
72cb7ccc00
|
|
@ -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)
|
||||
}}
|
||||
>
|
||||
|
|
|
|||
Loading…
Reference in New Issue