This commit is contained in:
Vanessa 2023-04-05 17:38:39 +08:00
parent 66bc15b1da
commit 76f7f629da

View file

@ -169,7 +169,9 @@ const renderKeyboardToolbar = () => {
if (getSelection().rangeCount === 0 || window.siyuan.config.editor.readOnly || window.siyuan.config.readonly) {
return;
}
hideKeyboardToolbarUtil();
if (!showUtil) {
hideKeyboardToolbarUtil();
}
if (window.innerHeight + 200 > ((window.orientation === 90 || window.orientation === -90) ? screen.width : screen.height)) {
hideKeyboardToolbar();
return;