Skip to content

Commit fe91543

Browse files
committed
add comment
1 parent 3dbe36d commit fe91543

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/chips/chip-row.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ export class MatChipRow extends MatChip implements AfterViewInit {
172172
afterNextRender(
173173
() => {
174174
this._getEditInput().initialize(value);
175+
176+
// Necessary when using edit icon to prevent edit from aborting
175177
setTimeout(() => this._ngZone.run(() => (this._editStartPending = false)));
176178
},
177179
{injector: this._injector},

0 commit comments

Comments
 (0)