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 8ac1516 commit 0693bc5Copy full SHA for 0693bc5
filebrowser.js
@@ -835,11 +835,15 @@ async function renderSidebarHTML(pageNum = 1) {
835
836
sidebar.scrollTo(0, (sidebar.scrollHeight - sidebar.clientHeight - 54));
837
838
- // don't override existing HTML items
839
- fileWrapper.innerHTML += out;
840
-
841
- // scroll to end of additional page
842
- sidebar.scrollTo(0, (sidebar.scrollHeight - sidebar.clientHeight - 1));
+ onNextFrame(() => {
+
+ // don't override existing HTML items
+ fileWrapper.innerHTML += out;
843
+ // scroll to end of additional page
844
+ sidebar.scrollTo(0, (sidebar.scrollHeight - sidebar.clientHeight - 1));
845
846
+ });
847
848
}
849
0 commit comments