mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
wip(desktop): progress
This commit is contained in:
parent
d81d63045a
commit
40572eeba4
2 changed files with 2 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
|
|||
return
|
||||
}
|
||||
const element = scrollRef()?.querySelector(`[data-key="${active()}"]`)
|
||||
element?.scrollIntoView({ block: "nearest", behavior: "smooth" })
|
||||
element?.scrollIntoView({ block: "center", behavior: "smooth" })
|
||||
})
|
||||
|
||||
const handleSelect = (item: T | undefined, index: number) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue