Skip to content

Commit f7effb8

Browse files
authored
Update filebrowser.js
1 parent aa6b4ec commit f7effb8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

filebrowser.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ async function renderSidebarHTML() {
144144
}
145145

146146
// scroll to end of title
147+
148+
sidebarTitle.classList.add('notransition');
149+
onNextFrame(() => {
150+
sidebarTitle.classList.remove('notransition');
151+
});
152+
147153
sidebarTitle.children[0].scrollTo({
148154
left: sidebarTitle.children[0].scrollWidth - sidebarTitle.children[0].offsetLeft,
149155
behavior: 'smooth'

0 commit comments

Comments
 (0)