From 8bf4ed7fc482563446f99338b626eea1fa50d9c5 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 3 Feb 2026 21:40:54 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/16548 --- app/src/protyle/render/av/action.ts | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 0f3ccd111..dceae2d4b 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