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

Vanessad07ae095bbab
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index dceae2d4b9..e5a1def55c 100644
--- a/app/src/protyle/render/av/action.ts
+++ b/app/src/protyle/render/av/action.ts
@@ -328,12 +328,9 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
viewsElement.classList.add("av__views--show");
}
/// #if MOBILE
- if (searchElement.getAttribute("virtualkeyboardpolicy") !== "manual") {
- searchElement.setAttribute("virtualkeyboardpolicy", "manual");
- }
setTimeout(() => {
- searchElement.focus();
window.JSAndroid?.showKeyboard();
+ searchElement.focus();
}, Constants.TIMEOUT_TRANSITION);
/// #else
searchElement.focus();