Skip to content

Commit 6c4f5f4

Browse files
MKirovaMayaKirova
authored andcommitted
Always stop propagation on navigation key in grid.
1 parent 0cf006b commit 6c4f5f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ export class IgxGridNavigationService {
5151

5252
handleNavigation(event: KeyboardEvent) {
5353
const key = event.key.toLowerCase();
54-
if (this.grid.crudService.cell && NAVIGATION_KEYS.has(key)) {
54+
if (NAVIGATION_KEYS.has(key)) {
5555
event.stopPropagation();
56+
}
57+
if (this.grid.crudService.cell && NAVIGATION_KEYS.has(key)) {
5658
return;
5759
}
5860
if (event.repeat && SUPPORTED_KEYS.has(key) || (key === 'tab' && this.grid.crudService.cell)) {

0 commit comments

Comments
 (0)