Browse Source

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

Sergey Samsonov 2 years ago
parent
commit
f85c126d03
1 changed files with 2 additions and 0 deletions
  1. 2 0
      client/components/Search/Search.vue

+ 2 - 0
client/components/Search/Search.vue

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