Skip to content

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

:art:

Vanessaf6f3ebbcb2d3
diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.ts
index f201738a5d..0ebf0595a0 100644
--- a/app/src/mobile/util/keyboardToolbar.ts
+++ b/app/src/mobile/util/keyboardToolbar.ts
@@ -183,6 +183,7 @@ const renderKeyboardToolbar = () => {
if (getSelection().rangeCount === 0 ||
window.siyuan.config.editor.readOnly ||
window.siyuan.config.readonly ||
+ window.screen.height - window.innerHeight < 160 || // reloadSync 会导致 selectionchange,从而导致键盘没有弹起的情况下出现工具栏
!document.activeElement || (
document.activeElement &&
document.activeElement.tagName !== "INPUT" &&