Skip to content

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

:art: fix https://github.com/siyuan-note/siyuan/issues/7885

Vanessa66bc15b1dae8
diff --git a/app/src/mobile/util/keyboardToolbar.ts b/app/src/mobile/util/keyboardToolbar.ts
index cf9f66a56e..f2fe416834 100644
--- a/app/src/mobile/util/keyboardToolbar.ts
+++ b/app/src/mobile/util/keyboardToolbar.ts
@@ -150,6 +150,7 @@ const showKeyboardToolbarUtil = (oldScrollTop: number) => {
const keyboardHeight = (parseInt(toolbarElement.getAttribute("data-keyboardheight")) + 42) + "px";
toolbarElement.style.height = keyboardHeight;
window.siyuan.mobile.editor.protyle.element.style.marginBottom = keyboardHeight;
+ window.siyuan.mobile.editor.protyle.contentElement.scrollTop = oldScrollTop;
window.siyuan.menus.menu.remove();
showUtil = true;
setTimeout(() => {