diff --git a/src/browser/Viewport.ts b/src/browser/Viewport.ts index 241f4df431..4cec08fde6 100644 --- a/src/browser/Viewport.ts +++ b/src/browser/Viewport.ts @@ -94,6 +94,7 @@ export class Viewport extends Disposable { })); this._register(this._bufferService.onResize(() => this._queueSync())); + this._register(this._bufferService.buffers.onBufferActivate(() => this._queueSync())); this._register(this._bufferService.onScroll(() => this._sync())); this._register(this._scrollableElement.onScroll(e => this._handleScroll(e)));