From e90578694b2324ab8627f89c8e1004fa0c243aaa Mon Sep 17 00:00:00 2001 From: Chris LaFreniere <40371649+chlafreniere@users.noreply.github.com> Date: Fri, 14 Aug 2020 19:52:27 -0700 Subject: [PATCH] Call onDidInsert Before Layout (#11819) --- .../contrib/notebook/browser/outputs/gridOutput.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/sql/workbench/contrib/notebook/browser/outputs/gridOutput.component.ts b/src/sql/workbench/contrib/notebook/browser/outputs/gridOutput.component.ts index 5f003f5f3b..ac8f8b9490 100644 --- a/src/sql/workbench/contrib/notebook/browser/outputs/gridOutput.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/outputs/gridOutput.component.ts @@ -105,9 +105,8 @@ export class GridOutputComponent extends AngularDisposable implements IMimeCompo let outputElement = this.output.nativeElement; outputElement.appendChild(this._table.element); this._register(attachTableStyler(this._table, this.themeService)); - this.layout(); - this._table.onDidInsert(); + this.layout(); this._initialized = true; } }