From ad38b1a1663ad60c24a62b27011897237b8074ef Mon Sep 17 00:00:00 2001 From: jeanp413 Date: Wed, 14 Aug 2024 07:45:37 -0500 Subject: [PATCH] Fix https://github.com/microsoft/vscode/issues/224750 --- src/browser/Viewport.ts | 1 + 1 file changed, 1 insertion(+) 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)));