We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21380af commit ee07146Copy full SHA for ee07146
lib/codemirror.js
@@ -503,6 +503,9 @@ window.CodeMirror = (function() {
503
display.viewOffset = heightAtLine(cm, getLine(doc, from));
504
// Position the mover div to align with the current virtual scroll position
505
display.mover.style.top = display.viewOffset + "px";
506
+
507
+ if (visibleLines(display, doc, viewPort).to >= to)
508
+ updateDisplayInner(cm, [], viewPort);
509
return true;
510
}
511
0 commit comments