Skip to content

Commit b359d09

Browse files
committed
fix(grid): Prevent cell from moving twice by hitting Tab key #6335
Prevent onGridKeydown from emitting while in IME composition mode
1 parent 867c625 commit b359d09

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

projects/igniteui-angular/src/lib/grids/cell.component.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -900,6 +900,11 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
900900
event.stopPropagation();
901901

902902
const keydownArgs = { targetType: 'dataCell', target: this, event: event, cancel: false };
903+
904+
if (keydownArgs.event.keyCode === 229) {
905+
return;
906+
}
907+
903908
this.grid.onGridKeydown.emit(keydownArgs);
904909
if (keydownArgs.cancel) {
905910
this.selectionService.clear();

0 commit comments

Comments
 (0)