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 c5b0b66 commit add5bd1Copy full SHA for add5bd1
app/pages/package-code/[[org]]/[packageName]/v/[version]/[...filePath].vue
@@ -22,8 +22,9 @@ onBeforeUnmount(() => {
22
23
watch(
24
fileTreeSidebarRef,
25
- el => {
26
- if (el && savedFileTreeSidebarScroll.value) el.scrollTop = savedFileTreeSidebarScroll.value
+ fileTreeSidebarElement => {
+ if (fileTreeSidebarElement && savedFileTreeSidebarScroll.value)
27
+ fileTreeSidebarElement.scrollTop = savedFileTreeSidebarScroll.value
28
},
29
{ once: true, flush: 'post' },
30
)
0 commit comments