Skip to content

Commit a498e0c

Browse files
committed
fix(igxPivot): Remove selection when refocusing the grid
1 parent 1599dae commit a498e0c

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)