We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991aefa commit 4128eeaCopy full SHA for 4128eea
app/components/Code/FileTree.vue
@@ -39,7 +39,7 @@ const { toggleDir, isExpanded, autoExpandAncestors } = useFileTreeState(props.ba
39
const scrollIntoView = () => {
40
const el = treeRoot.value?.querySelector('[aria-current="true"]') as HTMLElement
41
if (el) {
42
- el.scrollIntoView({ block: 'center' })
+ el.scrollIntoView({ block: 'center', behavior: 'smooth' })
43
}
44
45
0 commit comments