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

This commit is contained in:
Book Pauk
2022-11-06 14:49:27 +07:00
parent 32c2d6fef9
commit 0360098b53

View File

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