Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:zap:

Vanessa2787a239eee3
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index 3d735c6ace..f303582cdc 100644
--- a/app/src/protyle/util/onGet.ts
+++ b/app/src/protyle/util/onGet.ts
@@ -425,7 +425,7 @@ const focusElementById = (protyle: IProtyle, action: string[], scrollAttr?: IScr
protyle.observer.observe(protyle.wysiwyg.element);
}, 1000 * 3);
- if (focusElement.isSameNode(protyle.wysiwyg.element.firstElementChild)) {
+ if (focusElement.isSameNode(protyle.wysiwyg.element.firstElementChild) && !hasScrollTop) {
protyle.observerLoad.disconnect();
}
};