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/14589

Vanessa26a6037e0b3a
diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.ts
index 896de21483..f5bdb9e823 100644
--- a/app/src/mobile/util/keyboardToolbar.ts
+++ b/app/src/mobile/util/keyboardToolbar.ts
@@ -462,7 +462,9 @@ export const hideKeyboardToolbar = () => {
};
export const activeBlur = () => {
- window.JSAndroid?.hideKeyboard();
+ if (window.JSAndroid) {
+ window.JSAndroid.hideKeyboard();
+ }
hideKeyboardToolbar();
(document.activeElement as HTMLElement).blur();
};