mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-09 02:08:50 +01:00
This commit is contained in:
parent
53aacb8a77
commit
26a6037e0b
1 changed files with 3 additions and 1 deletions
|
|
@ -462,7 +462,9 @@ export const hideKeyboardToolbar = () => {
|
|||
};
|
||||
|
||||
export const activeBlur = () => {
|
||||
window.JSAndroid?.hideKeyboard();
|
||||
if (window.JSAndroid) {
|
||||
window.JSAndroid.hideKeyboard();
|
||||
}
|
||||
hideKeyboardToolbar();
|
||||
(document.activeElement as HTMLElement).blur();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue