Another attempt at fixing the no-scroll between pages bug
This commit is contained in:
parent
783a3ad16a
commit
f393bedb02
@ -670,6 +670,10 @@ export class Editor {
|
||||
});
|
||||
} else {
|
||||
editorView.scrollDOM.scrollTop = 0;
|
||||
editorView.dispatch({
|
||||
selection: { anchor: 0 },
|
||||
scrollIntoView: true,
|
||||
});
|
||||
}
|
||||
editorView.focus();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user