Skip to content

Commit f1e8a80

Browse files
authored
Merge pull request #8384 from IgniteUI/mkirova/fix-8104-10.1.x
chore(*): Do not focus first cell if a different header cell is alrea…
2 parents fff46cf + 0f17124 commit f1e8a80

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)