Skip to content

Commit be66e83

Browse files
committed
fix(IgxGrid): fix problem with cell editing and moving/ resizing #6747
1 parent 1c88e30 commit be66e83

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@ export class IgxGridCellComponent implements OnInit, OnChanges, OnDestroy {
658658
}
659659
}
660660
crud.end();
661+
this.grid.tbody.nativeElement.focus();
661662
this.grid.notifyChanges();
662663
crud.begin(this);
663664
return;

projects/igniteui-angular/src/lib/grids/selection/selection.service.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,6 @@ export class IgxGridCRUDService {
198198

199199
end(): void {
200200
this.cell = null;
201-
// this.grid.nativeElement.focus();
202-
this.grid.tbody.nativeElement.focus();
203201
}
204202
public enterEditMode(cell) {
205203
if (this.isInCompositionMode) {

0 commit comments

Comments
 (0)