mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
df298125ec
1 changed files with 4 additions and 1 deletions
|
|
@ -18,7 +18,10 @@ export const showKeyboardToolbar = (bottom = 0) => {
|
|||
!window.siyuan.mobileEditor.protyle.wysiwyg.element.contains(range.startContainer)) {
|
||||
return;
|
||||
}
|
||||
|
||||
setTimeout(() => { // Android 端事件需要滞后一些,所以这里统一延迟一下
|
||||
scrollCenter(window.siyuan.mobileEditor.protyle, undefined, false, (window.outerHeight - 65) / 2 - 30);
|
||||
}, 100);
|
||||
};
|
||||
|
||||
export const hideKeyboardToolbar = () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue