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/7537

Vanessa9de5fd17ed15
diff --git a/app/src/protyle/breadcrumb/action.ts b/app/src/protyle/breadcrumb/action.ts
index 91494f899c..38bfea61e0 100644
--- a/app/src/protyle/breadcrumb/action.ts
+++ b/app/src/protyle/breadcrumb/action.ts
@@ -76,7 +76,11 @@ export const fullscreen = (element: Element, btnElement?: Element) => {
}
/// #if !MOBILE
if (element.classList.contains("protyle")) {
- hideAllElements(["gutter"]);
+ // 等待页面动画结束
+ setTimeout(() => {
+ hideAllElements(["gutter"]);
+ }, Constants.TIMEOUT_TRANSITION);
+
window.siyuan.editorIsFullscreen = !isFullscreen;
}
getAllModels().editor.forEach(item => {