mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 00:04:21 +01:00
This commit is contained in:
parent
31e37ff3d0
commit
d07ae095bb
1 changed files with 1 additions and 4 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue