1
0

Another attempt at fixing the no-scroll between pages bug

This commit is contained in:
Zef Hemel
2022-09-06 11:03:37 +02:00
parent 783a3ad16a
commit f393bedb02
+4
View File
@@ -670,6 +670,10 @@ export class Editor {
});
} else {
editorView.scrollDOM.scrollTop = 0;
editorView.dispatch({
selection: { anchor: 0 },
scrollIntoView: true,
});
}
editorView.focus();
}