Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/10050

Vanessa491fa58d990b
diff --git a/app/src/util/backForward.ts b/app/src/util/backForward.ts
index a69c433fc6..4e86246e59 100644
--- a/app/src/util/backForward.ts
+++ b/app/src/util/backForward.ts
@@ -135,7 +135,7 @@ const focusStack = async (app: App, stack: IBackStack) => {
stack.protyle.model.parent.parent.switchTab(stack.protyle.model.parent.headElement);
}
focusByOffset(getContenteditableElement(blockElement), stack.position.start, stack.position.end);
- scrollCenter(stack.protyle, blockElement, true);
+ scrollCenter(stack.protyle, blockElement);
getAllModels().outline.forEach(item => {
if (item.blockId === stack.protyle.block.rootID) {
item.setCurrent(blockElement);