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"); }); };