Skip to content

Commit 591f7b8

Browse files
authored
Merge pull request #10696 from IgniteUI/mdragnev/fix-10667
fix(igxPivot): Remove selection when refocusing the grid
2 parents 6e822f9 + a498e0c commit 591f7b8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

projects/igniteui-angular/src/lib/grids/pivot-grid/pivot-grid-navigation.service.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,12 @@ export class IgxPivotGridNavigationService extends IgxGridNavigationService {
5050
super.handleNavigation(event);
5151
}
5252
}
53+
54+
public focusTbody(event) {
55+
if (!this.activeNode || this.activeNode.row === null || this.activeNode.row === undefined) {
56+
this.activeNode = this.lastActiveNode;
57+
} else {
58+
super.focusTbody(event);
59+
}
60+
}
5361
}

0 commit comments

Comments
 (0)