Skip to content

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

:art: https://ld246.com/article/1653899209227

Vanessae7268cc01130
diff --git a/app/src/util/backForward.ts b/app/src/util/backForward.ts
index df716d7df8..ff40869b5c 100644
--- a/app/src/util/backForward.ts
+++ b/app/src/util/backForward.ts
@@ -112,7 +112,7 @@ const focusStack = async (stack: IBackStack) => {
}
if (blockElement && !stack.protyle.block.showAll) {
focusByOffset(blockElement, stack.position.start, stack.position.end);
- scrollCenter(stack.protyle, blockElement);
+ scrollCenter(stack.protyle, blockElement, true);
return true;
}
// 缩放不一致