Skip to content

Commit 5714b29

Browse files
committed
fix(IgxGrid): should not clear active node when there is cell in edit mode #7337
1 parent 1b3f1c3 commit 5714b29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/igniteui-angular/src/lib/grids/grid-base.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2817,7 +2817,7 @@ export class IgxGridBaseDirective extends DisplayDensityBase implements
28172817

28182818
@HostListener('focusout', ['$event'])
28192819
public blur(event) {
2820-
if ((event.target === this.tbody.nativeElement &&
2820+
if (!this.crudService.cell && (event.target === this.tbody.nativeElement &&
28212821
this.navigation.activeNode.row >= 0 && this.navigation.activeNode.row < this.dataView.length)
28222822
|| (event.target === this.theadRow.nativeElement && this.navigation.activeNode.row === -1)
28232823
|| (event.target === this.tfoot.nativeElement && this.navigation.activeNode.row === this.dataView.length)) {

0 commit comments

Comments
 (0)