Skip to content

Commit c3defd0

Browse files
authored
Merge pull request #6343 from IgniteUI/editing-cell-tab-ime
fix(grid): Prevent cell from moving twice by hitting Tab key #6335
2 parents f288244 + df73076 commit c3defd0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

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

902902
const keydownArgs = { targetType: 'dataCell', target: this, event: event, cancel: false };
903+
904+
// This fixes IME editing issue(#6335) that happens only on IE
905+
if (isIE() && keydownArgs.event.keyCode === 229 && event.key === 'Tab') {
906+
return;
907+
}
908+
903909
this.grid.onGridKeydown.emit(keydownArgs);
904910
if (keydownArgs.cancel) {
905911
this.selectionService.clear();

0 commit comments

Comments
 (0)