mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Only update active cell if the cell isn't currently in edit mode. (#18672)
This commit is contained in:
@@ -547,10 +547,10 @@ export class TextCellComponent extends CellView implements OnInit, OnChanges {
|
||||
private enableActiveCellEditOnDoubleClick() {
|
||||
if (!this.isEditMode && this.doubleClickEditEnabled) {
|
||||
this.toggleEditMode(true);
|
||||
}
|
||||
this._model.updateActiveCell(this.cellModel, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function preventDefaultAndExecCommand(e: KeyboardEvent, commandId: string, showUI?: boolean, value?: string) {
|
||||
// Use preventDefault() to avoid invoking the editor's select all and stopPropagation to prevent further propagation of the current event
|
||||
|
||||
Reference in New Issue
Block a user