Skip to content

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

:bug: https://github.com/siyuan-note/siyuan/issues/17574

Vanessaeb27aa92363e
diff --git a/app/src/mobile/index.ts b/app/src/mobile/index.ts
index 25ab9bef10..be16917bcf 100644
--- a/app/src/mobile/index.ts
+++ b/app/src/mobile/index.ts
@@ -106,7 +106,7 @@ class App {
callMobileAppShowKeyboard();
}
}
- if (!hasClosestByClassName(event.target as Element, "protyle-util")) {
+ if (document.contains(event.target) && !hasClosestByClassName(event.target as Element, "protyle-util")) {
hideAllElements(["util"]);
}
});