fix: remove smooth scroll behavior from list component
This commit is contained in:
@@ -82,7 +82,7 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
const element = scrollRef()?.querySelector(`[data-key="${active()}"]`)
|
const element = scrollRef()?.querySelector(`[data-key="${active()}"]`)
|
||||||
element?.scrollIntoView({ block: "center", behavior: "smooth" })
|
element?.scrollIntoView({ block: "center" })
|
||||||
})
|
})
|
||||||
|
|
||||||
createEffect(() => {
|
createEffect(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user