Skip to content

Commit d762190

Browse files
committed
Fix collapsing markdown cell in edit mode
Fix #104018
1 parent d51eb90 commit d762190

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/notebook/browser/view/renderers/markdownCell.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export class StatefulMarkdownCell extends Disposable {
146146
DOM.hide(this.editorPart);
147147
DOM.hide(this.markdownContainer);
148148
this.templateData.container.classList.toggle('collapsed', true);
149+
this.viewCell.renderedMarkdownHeight = 0;
149150
}
150151

151152
private viewUpdateEditing(): void {

0 commit comments

Comments
 (0)