Skip to content

Commit d9777cc

Browse files
committed
fix(IgxGrid): update active node properly when you focus to the header #6747
1 parent 327fad2 commit d9777cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,9 @@ export class IgxGridMRLNavigationService extends IgxGridNavigationService {
211211

212212
headerNavigation(event: KeyboardEvent) {
213213
const key = event.key.toLowerCase();
214+
if (!this.activeNode.layout) {
215+
this.activeNode.layout = this.layout(this.activeNode.column || 0);
216+
}
214217
if (key.includes('down') || key.includes('up')) {
215218
event.preventDefault();
216219
const children = this.parentByChildIndex(this.activeNode.column).children;

0 commit comments

Comments
 (0)