mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user