Skip to content

Commit 067519b

Browse files
committed
chore(*): add comment to the latest bug fix
1 parent 20b2f96 commit 067519b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,11 @@ export class IgxGridCRUDService {
160160
}
161161

162162
begin(cell): void {
163-
const newCell = this.createCell(cell);
163+
// this is necessary beacuse when the cell enters edit mode the focus should be moved to the edit template
164+
// if we constantly retrigger the focus over the edit template we broke the scrolling experience in the hierarchical grid
165+
// This fix should be removed, when the issue #7219 is resolved
164166
cell.focused = true;
167+
const newCell = this.createCell(cell);
165168
newCell.primaryKey = this.primaryKey;
166169
const args = {
167170
cellID: newCell.id,

0 commit comments

Comments
 (0)