Skip to content

Commit f9711a3

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

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
@@ -213,7 +213,7 @@ export class IgxGridNavigationService {
213213
}
214214

215215
focusFirstCell(header = true) {
216-
if (this.grid.dataView.length && this.activeNode &&
216+
if ((header || this.grid.dataView.length) && this.activeNode &&
217217
(this.activeNode.row === -1 || this.activeNode.row === this.grid.dataView.length ||
218218
(!header && !this.grid.hasSummarizedColumns))) { return; }
219219

0 commit comments

Comments
 (0)