From 3195387643752d1d52ad08052b4fb647943e7875 Mon Sep 17 00:00:00 2001 From: Radoslav Karaivanov Date: Mon, 10 Jun 2019 14:05:07 +0300 Subject: [PATCH] refactor(igx-grid): Update CRUD status on pointerup Closes #4878 --- .../igniteui-angular/src/lib/grids/cell.component.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/projects/igniteui-angular/src/lib/grids/cell.component.ts b/projects/igniteui-angular/src/lib/grids/cell.component.ts index 68697c4f864..384e51dd9d6 100644 --- a/projects/igniteui-angular/src/lib/grids/cell.component.ts +++ b/projects/igniteui-angular/src/lib/grids/cell.component.ts @@ -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); } /** @@ -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(); } /**