Фикс поведения шапки при смене страницы

This commit is contained in:
Sergey Samsonov
2023-01-05 00:59:39 +03:00
committed by GitHub
parent 2cc753f6d0
commit f85c126d03

View File

@@ -954,6 +954,8 @@ class Search {
scrollToTop() { scrollToTop() {
this.$refs.scroller.scrollTop = 0; this.$refs.scroller.scrollTop = 0;
this.lastScrollTop = 0; this.lastScrollTop = 0;
this.$refs.toolPanel.style.top="0px";
this.$refs.toolPanel.style.position="sticky";
} }
updatePageCount() { updatePageCount() {