An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://ld246.com/article/1780621476333
Vanessa0e50772fc2fe
diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.tsindex cda921d6b7..3bfc27773f 100644--- a/app/src/mobile/util/keyboardToolbar.ts+++ b/app/src/mobile/util/keyboardToolbar.ts@@ -543,7 +543,12 @@ export const initKeyboardToolbar = () => {window.siyuan.mobile.size.landscape.height1 = window.innerHeight;}if (window.siyuan.mobile.size.landscape.height2 < window.innerHeight) {- activeBlur();+ const isInputFocused = document.activeElement && (+ ["INPUT", "TEXTAREA"].includes(document.activeElement.tagName) ||+ (document.activeElement as HTMLElement).isContentEditable);+ if (!isInputFocused) {+ activeBlur();+ }} else if (!preventRender) {renderKeyboardToolbar();}@@ -561,7 +566,12 @@ export const initKeyboardToolbar = () => {window.siyuan.mobile.size.portrait.height1 = window.innerHeight;}if (window.siyuan.mobile.size.portrait.height2 < window.innerHeight) {- activeBlur();+ const isInputFocused = document.activeElement && (+ ["INPUT", "TEXTAREA"].includes(document.activeElement.tagName) ||+ (document.activeElement as HTMLElement).isContentEditable);+ if (!isInputFocused) {+ activeBlur();+ }} else if (!preventRender) {renderKeyboardToolbar();}