We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1d8e96 commit 32c3cb0Copy full SHA for 32c3cb0
1 file changed
src/browser/Viewport.ts
@@ -157,9 +157,10 @@ export class Viewport extends Disposable {
157
});
158
this._suppressOnScrollHandler = false;
159
160
- // If ydisp has been changed by some other copmonent (input/buffer), then stop animating smooth
+ // If ydisp has been changed by some other component (input/buffer), then stop animating smooth
161
// scroll and scroll there immediately.
162
if (ydisp !== this._latestYDisp) {
163
+ this._latestYDisp = ydisp;
164
this._scrollableElement.setScrollPosition({
165
scrollTop: ydisp * this._renderService.dimensions.css.cell.height
166
0 commit comments