Skip to content

Commit

Permalink
refactor(igx-grid): Update CRUD status on pointerup
Browse files Browse the repository at this point in the history
Closes #4878
  • Loading branch information
rkaraivanov committed Jun 10, 2019
1 parent fe74a52 commit 3195387
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions projects/igniteui-angular/src/lib/grids/cell.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -692,14 +692,7 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
this.selectionService.primaryButton = false;
return;
}
this.selectionService.pointerDown(this.selectionNode,
event.shiftKey, event.ctrlKey);

// TODO: Investigate
// There is a nasty double to triple row editing overlay instantiation with IE 11 (of course!)
if (!isIE()) {
this._updateCRUDStatus();
}
this.selectionService.pointerDown(this.selectionNode, event.shiftKey, event.ctrlKey);
}

/**
Expand All @@ -726,6 +719,7 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
if (this.selectionService.pointerUp(this.selectionNode, this.grid.onRangeSelection)) {
this.grid.cdr.detectChanges();
}
this._updateCRUDStatus();
}

/**
Expand Down

0 comments on commit 3195387

Please sign in to comment.