We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee82fe1 commit d69a127Copy full SHA for d69a127
1 file changed
src/webpage/editor/editor.ts
@@ -91,8 +91,8 @@ class Editor extends EventTarget {
91
if (index < linedown) {
92
this.scroll.linedown = index;
93
}
94
- if (index > linedown + this.height) {
95
- this.scroll.linedown = this.height + index;
+ if (index >= linedown + this.height) {
+ this.scroll.linedown = index - this.height + 1;
96
97
98
0 commit comments