mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-06 00:12:11 +00:00
fix(app): list component jumping when mouse happens to be under the list and keyboard navigating. (#9435)
This commit is contained in:
parent
4ee540309f
commit
72cb7ccc00
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue