Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/14769

Vanessa260af4bba082
diff --git a/app/src/mobile/util/MobileBackFoward.ts b/app/src/mobile/util/MobileBackFoward.ts
index a101b5206a..30e7719c99 100644
--- a/app/src/mobile/util/MobileBackFoward.ts
+++ b/app/src/mobile/util/MobileBackFoward.ts
@@ -53,7 +53,7 @@ const focusStack = (backStack: IBackStack) => {
protyle.wysiwyg.renderCustom(response.data.ial);
});
}
-
+ const exitFocusElement = protyle.breadcrumb.element.parentElement.querySelector('[data-type="exit-focus"]');
if (backStack.zoomId) {
if (backStack.zoomId !== protyle.block.id) {
fetchPost("/api/block/checkBlockExist", {id: backStack.id}, existResponse => {
@@ -71,6 +71,7 @@ const focusStack = (backStack: IBackStack) => {
} else {
protyle.contentElement.scrollTop = backStack.scrollTop;
}
+ exitFocusElement.classList.remove("fn__none");
return;
}
@@ -108,6 +109,7 @@ const focusStack = (backStack: IBackStack) => {
item.eventBus.emit("switch-protyle", {protyle});
item.eventBus.emit("loaded-protyle-static", {protyle});
});
+ exitFocusElement.classList.add("fn__none");
});
};