Only update active cell if the cell isn't currently in edit mode. (#18672)

This commit is contained in:
Cory Rivera
2022-03-07 17:11:05 -08:00
committed by GitHub
parent 4f9d45335e
commit f013a88163

View File

@@ -547,8 +547,8 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges {
private enableActiveCellEditOnDoubleClick() {
if (!this.isEditMode && this.doubleClickEditEnabled) {
this.toggleEditMode(true);
this._model.updateActiveCell(this.cellModel, true);
}
this._model.updateActiveCell(this.cellModel, true);
}
}