Skip to content

Commit 9a092c7

Browse files
MKirovaMKirova
authored andcommitted
fix(igxHierarchicalGrid): Fix for Ivy issue where HostListener is called twice for hgrid cell inherited from grid cell.
1 parent aa29a4b commit 9a092c7

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

projects/igniteui-angular/src/lib/grids/cell.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,7 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
888888
* @internal
889889
*/
890890
@HostListener('keydown', ['$event'])
891-
dispatchEvent(event: KeyboardEvent) {
891+
_dispatchEvent(event: KeyboardEvent) {
892892
const key = event.key.toLowerCase();
893893
const shift = event.shiftKey;
894894
const ctrl = event.ctrlKey;

projects/igniteui-angular/src/lib/grids/hierarchical-grid/hierarchical-cell.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ export class IgxHierarchicalGridCellComponent extends IgxGridCellComponent imple
113113
}
114114
return;
115115
}
116-
super.dispatchEvent(event);
117116
}
118117

119118
protected persistFocusedCell(rowID) {

0 commit comments

Comments
 (0)