An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/15914
Vanessa326ed4199a40
diff --git a/app/src/protyle/scroll/event.ts b/app/src/protyle/scroll/event.tsindex b29aa6578f..906a7b49b2 100644--- a/app/src/protyle/scroll/event.ts+++ b/app/src/protyle/scroll/event.ts@@ -95,6 +95,11 @@ 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) {+ // 使用鼠标拖拽滚动条时导致加载需进行矫正+ element.scrollTop = protyle.scroll.lastScrollTop;+ return;+ }protyle.wysiwyg.element.setAttribute("data-top", element.scrollTop.toString());fetchPost("/api/filetree/getDoc", {id: protyle.wysiwyg.element.lastElementChild.getAttribute("data-node-id"),