Skip to content

Commit 3b39182

Browse files
committed
trigger min height update when output height is non-zero
1 parent 0f9d05c commit 3b39182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/notebook/browser/notebookEditorWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2450,7 +2450,7 @@ export class NotebookEditorWidget extends Disposable implements INotebookEditorD
24502450
const cell = this.viewModel?.viewCells.find(vc => vc.handle === cellInfo.cellHandle);
24512451
if (cell && cell instanceof CodeCellViewModel) {
24522452
const outputIndex = cell.outputsViewModels.indexOf(output);
2453-
if (isInit && outputHeight !== 0) {
2453+
if (outputHeight !== 0) {
24542454
cell.updateOutputMinHeight(0);
24552455
}
24562456
this._debug('update cell output', cell.handle, outputHeight);

0 commit comments

Comments
 (0)