This commit is contained in:
Vanessa 2023-04-29 19:27:08 +08:00
parent a50ea607db
commit f6f3ebbcb2

View file

@ -183,6 +183,7 @@ const renderKeyboardToolbar = () => {
if (getSelection().rangeCount === 0 ||
window.siyuan.config.editor.readOnly ||
window.siyuan.config.readonly ||
window.screen.height - window.innerHeight < 160 || // reloadSync 会导致 selectionchange从而导致键盘没有弹起的情况下出现工具栏
!document.activeElement || (
document.activeElement &&
document.activeElement.tagName !== "INPUT" &&