Browse Source

Поправлен баг скроллинга

Book Pauk 2 năm trước cách đây
mục cha
commit
0360098b53
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      client/components/Search/Search.vue

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

@@ -786,6 +786,8 @@ class Search {
 
         if (this.ignoreScrolling) {
             this.lastScrollTop = curScrollTop;
+            if (this.$refs.toolPanel.offsetTop > curScrollTop)
+                this.$refs.toolPanel.style.top = `${curScrollTop}px`;
             return;
         }