From 9bf6af04dcb5c2e531cedca83cd188939ca1b0db Mon Sep 17 00:00:00 2001 From: rebornix Date: Fri, 26 Jun 2020 11:21:27 -0700 Subject: [PATCH] fix #99393. --- .../contrib/notebook/browser/view/renderers/codeCell.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/contrib/notebook/browser/view/renderers/codeCell.ts b/src/vs/workbench/contrib/notebook/browser/view/renderers/codeCell.ts index 7d868e6e589..1ddc2846709 100644 --- a/src/vs/workbench/contrib/notebook/browser/view/renderers/codeCell.ts +++ b/src/vs/workbench/contrib/notebook/browser/view/renderers/codeCell.ts @@ -364,6 +364,8 @@ export class CodeCell extends Disposable { let hasDynamicHeight = result.hasDynamicHeight; if (hasDynamicHeight) { + this.viewCell.selfSizeMonitoring = true; + let clientHeight = outputItemDiv.clientHeight; let dimension = { width: this.viewCell.layoutInfo.editorWidth,