mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-17 01:21:14 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
df298125ec
@ -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…
Reference in New Issue
Block a user