This commit is contained in:
Vanessa 2023-04-05 17:17:59 +08:00
parent 9b3350a092
commit 66bc15b1da

View file

@ -150,6 +150,7 @@ const showKeyboardToolbarUtil = (oldScrollTop: number) => {
const keyboardHeight = (parseInt(toolbarElement.getAttribute("data-keyboardheight")) + 42) + "px";
toolbarElement.style.height = keyboardHeight;
window.siyuan.mobile.editor.protyle.element.style.marginBottom = keyboardHeight;
window.siyuan.mobile.editor.protyle.contentElement.scrollTop = oldScrollTop;
window.siyuan.menus.menu.remove();
showUtil = true;
setTimeout(() => {