From 830320096ee8d4140e067eee6d34c4e7052cb7f5 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 10 Feb 2026 20:09:05 +0800 Subject: [PATCH] =?UTF-8?q?:iphone:=20=E8=BE=93=E5=85=A5=E6=A1=86=E5=88=A4?= =?UTF-8?q?=E6=96=AD=E6=94=B9=E8=BF=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/protyle/render/av/action.ts | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts index 271ddf0d0..173fe8409 100644 --- a/app/src/protyle/render/av/action.ts +++ b/app/src/protyle/render/av/action.ts @@ -328,9 +328,14 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle if (viewsElement) { viewsElement.classList.add("av__views--show"); } - setTimeout(() => { + if (window.JSAndroid && window.JSAndroid.showKeyboard || window.JSHarmony && window.JSHarmony.showKeyboard) { + callMobileAppShowKeyboard(); + setTimeout(() => { + searchElement.focus(); + }, Constants.TIMEOUT_TRANSITION); + } else { searchElement.focus(); - }, Constants.TIMEOUT_TRANSITION); + } event.preventDefault(); event.stopPropagation(); return true;