Don't expand notebook cells after being run, and don't hide outputs when cell is collapsed. (#7585)

This commit is contained in:
Cory Rivera
2019-10-08 17:39:21 -07:00
committed by GitHub
parent 66fda57513
commit d37105ada2
2 changed files with 1 additions and 4 deletions

View File

@@ -9,7 +9,7 @@
<code-component [cellModel]="cellModel" [model]="model" [activeCellId]="activeCellId"></code-component>
</div>
<div style="flex: 0 0 auto; width: 100%; height: 100%; display: block">
<output-area-component *ngIf="cellModel.outputs && cellModel.outputs.length > 0 && !cellModel.isCollapsed" [cellModel]="cellModel" [activeCellId]="activeCellId">
<output-area-component *ngIf="cellModel.outputs && cellModel.outputs.length > 0" [cellModel]="cellModel" [activeCellId]="activeCellId">
</output-area-component>
<stdin-component *ngIf="isStdInVisible" [onSendInput]="inputDeferred" [stdIn]="stdIn" [cellModel]="cellModel"></stdin-component>
</div>

View File

@@ -295,9 +295,6 @@ export class CellModel implements ICellModel {
this.notebookModel.updateActiveCell(this);
this.active = true;
}
if (this.isCollapsed) {
this.isCollapsed = false;
}
if (connectionManagementService) {
this._connectionManagementService = connectionManagementService;