Select a value inside the mat-select, then click on the switch button.
You should see an 'ExpressionChangedAfterItHasBeenCheckedError' from the console
https://stackblitz.com/edit/angular-ivy-ifbsaj
It happens since I have migrated my project from Angular 11 to Angular 12