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