Skip to content

Commit 33f0105

Browse files
authored
Merge pull request #3332 from Tyriar/scroll_refresh
Make sure all rows are refreshed on input
2 parents 8f9f255 + bcbcc71 commit 33f0105

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/browser/Viewport.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ export class Viewport extends Disposable implements IViewport {
151151
// Ignore the event if it was flagged to ignore (when the source of the event is from Viewport)
152152
if (this._ignoreNextScrollEvent) {
153153
this._ignoreNextScrollEvent = false;
154+
// Still trigger the scroll so lines get refreshed
155+
this._scrollLines(0);
154156
return;
155157
}
156158

0 commit comments

Comments
 (0)