Поправки багов скроллинга
This commit is contained in:
@@ -771,9 +771,12 @@ class Search {
|
|||||||
this.lastScrollTop = curScrollTop;
|
this.lastScrollTop = curScrollTop;
|
||||||
}
|
}
|
||||||
|
|
||||||
async ignoreScroll(ms = 50) {
|
async ignoreScroll(ms = 300) {
|
||||||
this.ignoreScrolling = true;
|
this.ignoreScrolling = true;
|
||||||
await utils.sleep(ms);
|
await utils.sleep(ms);
|
||||||
|
await this.$nextTick();
|
||||||
|
await this.$nextTick();
|
||||||
|
await this.$nextTick();
|
||||||
this.ignoreScrolling = false;
|
this.ignoreScrolling = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user