mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-05 16:28:49 +01:00
⚡
This commit is contained in:
parent
ac269b4e1b
commit
2787a239ee
1 changed files with 1 additions and 1 deletions
|
|
@ -425,7 +425,7 @@ const focusElementById = (protyle: IProtyle, action: string[], scrollAttr?: IScr
|
|||
protyle.observer.observe(protyle.wysiwyg.element);
|
||||
}, 1000 * 3);
|
||||
|
||||
if (focusElement.isSameNode(protyle.wysiwyg.element.firstElementChild)) {
|
||||
if (focusElement.isSameNode(protyle.wysiwyg.element.firstElementChild) && !hasScrollTop) {
|
||||
protyle.observerLoad.disconnect();
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue