Skip to content

Commit d6fcc45

Browse files
MKirovaMayaKirova
authored andcommitted
chore(*): Do not focus first cell if a different header cell is already active.
1 parent 26cc165 commit d6fcc45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export class IgxGridNavigationService {
224224
}
225225

226226
focusFirstCell(header = true) {
227-
if (this.grid.dataView.length && this.activeNode &&
227+
if ((header || this.grid.dataView.length) && this.activeNode &&
228228
(this.activeNode.row === -1 || this.activeNode.row === this.grid.dataView.length ||
229229
(!header && !this.grid.hasSummarizedColumns))) { return; }
230230

0 commit comments

Comments
 (0)