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

Vanessa8bf4ed7fc482
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index 0f3ccd1118..dceae2d4b9 100644
--- a/app/src/protyle/render/av/action.ts
+++ b/app/src/protyle/render/av/action.ts
@@ -330,14 +330,11 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
/// #if MOBILE
if (searchElement.getAttribute("virtualkeyboardpolicy") !== "manual") {
searchElement.setAttribute("virtualkeyboardpolicy", "manual");
- setTimeout(() => {
- searchElement.focus();
- window.JSAndroid?.showKeyboard();
- }, Constants.TIMEOUT_TRANSITION);
- } else {
+ }
+ setTimeout(() => {
searchElement.focus();
window.JSAndroid?.showKeyboard();
- }
+ }, Constants.TIMEOUT_TRANSITION);
/// #else
searchElement.focus();
/// #endif