This commit is contained in:
Vanessa 2023-03-06 14:05:12 +08:00
parent e4ff4f03cd
commit dd3c011736

View File

@ -36,10 +36,10 @@ const renderKeyboardToolbar = () => {
return; return;
} }
hideKeyboardToolbarUtil(); hideKeyboardToolbarUtil();
// if (window.innerHeight + 200 > ((window.orientation === 90 || window.orientation === -90) ? screen.width : screen.height)) { if (window.innerHeight + 200 > ((window.orientation === 90 || window.orientation === -90) ? screen.width : screen.height)) {
// hideKeyboardToolbar(); hideKeyboardToolbar();
// return; return;
// } }
const dynamicElements = document.querySelectorAll("#keyboardToolbar .keyboard__dynamic"); const dynamicElements = document.querySelectorAll("#keyboardToolbar .keyboard__dynamic");
const range = getSelection().getRangeAt(0); const range = getSelection().getRangeAt(0);