Răsfoiți Sursa

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

Sergey Samsonov 2 ani în urmă
părinte
comite
f85c126d03
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  1. 2 0
      client/components/Search/Search.vue

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

@@ -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() {