Use quick scrolling
This commit is contained in:
parent
12fd1e3981
commit
5afe62bdcc
@ -38,7 +38,6 @@ export const CursorList = ({ items, onSelect = noop }) => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (selectedRef.current) {
|
if (selectedRef.current) {
|
||||||
selectedRef.current.scrollIntoView({
|
selectedRef.current.scrollIntoView({
|
||||||
behavior: 'smooth',
|
|
||||||
block: 'nearest'
|
block: 'nearest'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user