From 260af4bba0824d4c2ca4262dc15dafd621873fa9 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 7 May 2025 12:23:01 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/14769 --- app/src/mobile/util/MobileBackFoward.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/mobile/util/MobileBackFoward.ts b/app/src/mobile/util/MobileBackFoward.ts index a101b5206..30e7719c9 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"); }); };