Closed
Description
Repro https://stackblitz.com/edit/materia2-tabs-dialog-problem?file=app%2Fapp.component.ts
Possibly related: #10498
cc @mmalerba
Workaround would probably be to make the dialog component work without setTimeout
, but that unfortunately causes
ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: 'id: undefined'. Current value: 'id: mat-dialog-1'. It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook?