From 0d69dc614b17733a4eb2deb345dcf8c78ae67dfa Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 23 Sep 2025 22:54:35 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15914 --- 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 906a7b49b..78d73f1b2 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 > protyle.scroll.lastScrollTop * 2) { + if (element.scrollTop > 768 && element.scrollTop > protyle.scroll.lastScrollTop * 2) { // 使用鼠标拖拽滚动条时导致加载需进行矫正 element.scrollTop = protyle.scroll.lastScrollTop; return;