From dfed7890add2bef0703d7e5a452e6b0cddb48c28 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Thu, 25 Sep 2025 12:09:46 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15931 --- app/src/protyle/scroll/event.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/scroll/event.ts b/app/src/protyle/scroll/event.ts index 78d73f1b2..936e015df 100644 --- a/app/src/protyle/scroll/event.ts +++ b/app/src/protyle/scroll/event.ts @@ -95,7 +95,7 @@ export const scrollEvent = (protyle: IProtyle, element: HTMLElement) => { } else if ((element.scrollTop > element.scrollHeight - element.clientHeight * 1.8) && protyle.wysiwyg.element.lastElementChild && protyle.wysiwyg.element.lastElementChild.getAttribute("data-eof") !== "2") { - if (element.scrollTop > 768 && element.scrollTop > protyle.scroll.lastScrollTop * 2) { + if (protyle.scroll.lastScrollTop > 768 && element.scrollTop > protyle.scroll.lastScrollTop * 2) { // 使用鼠标拖拽滚动条时导致加载需进行矫正 element.scrollTop = protyle.scroll.lastScrollTop; return;