소스 검색

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

Book Pauk 2 년 전
부모
커밋
e0c856ce8e
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      client/components/Search/Search.vue

+ 4 - 1
client/components/Search/Search.vue

@@ -771,9 +771,12 @@ class Search {
         this.lastScrollTop = curScrollTop;
     }
 
-    async ignoreScroll(ms = 50) {
+    async ignoreScroll(ms = 300) {
         this.ignoreScrolling = true;
         await utils.sleep(ms);
+        await this.$nextTick();
+        await this.$nextTick();
+        await this.$nextTick();
         this.ignoreScrolling = false;
     }