fix: remove smooth scroll behavior from list component

pull/5339/head
David Hill 2026-01-17 00:37:56 +00:00
parent 80b278ddab
commit e0c6459faa
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export function List<T>(props: ListProps<T> & { ref?: (ref: ListRef) => void })
return
}
const element = scrollRef()?.querySelector(`[data-key="${active()}"]`)
element?.scrollIntoView({ block: "center", behavior: "smooth" })
element?.scrollIntoView({ block: "center" })
})
createEffect(() => {