Skip to content

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

:bug: 移动端书签点击聚焦和退出聚焦

Vanessa6000ef1c63e0
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts
index 3f49966e86..1e9f69be51 100644
--- a/app/src/menus/protyle.ts
+++ b/app/src/menus/protyle.ts
@@ -450,7 +450,8 @@ export const zoomOut = (protyle: IProtyle, id: string, focusId?: string, isPushB
if (isPushBack) {
pushBack();
}
- } else if (protyle.breadcrumb) {
+ }
+ if (protyle.breadcrumb) {
const exitFocusElement = protyle.breadcrumb.element.parentElement.querySelector('[data-type="exit-focus"]');
if (id === protyle.block.rootID) {
exitFocusElement.classList.add("fn__none");