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 7d868e6e589ec..1ddc284670946 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,