Skip to content

Commit 3b25190

Browse files
authored
Merge pull request #8385 from IgniteUI/mkirova/fix-8104-master
chore(*): Do not focus first cell if a different header cell is alrea…
2 parents 0c03c3e + d1a5ff5 commit 3b25190

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)