mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 07:48:49 +01:00
🎨 移动端键盘弹起后光标定位居中 https://github.com/siyuan-note/siyuan/issues/6074
This commit is contained in:
parent
1d9bd070d1
commit
e2ea21a4eb
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export const showKeyboardToolbar = (bottom = 0) => {
|
|||
return;
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
setTimeout(() => { // Android 端事件需要滞后一些,所以这里统一延迟一下
|
||||
scrollCenter(window.siyuan.mobileEditor.protyle, undefined, false, (window.outerHeight - 65) / 2 - 30);
|
||||
}, 100);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue