After closing the Angular Material Expansion Panel via a boolean variable, it closes just fine but to reopen it again you will need to click it 3 times to reopen it. Apparently in Angular 6 it works just fine with the identical example but i obviously don't want to downgrade, i tried Angular 10 & 11 and it didn't work. I Also tried to close it via different ways like the panel's close method etc but no difference.
Stackblitz: Angular 11: https://stackblitz.com/edit/angular-ivy-4qj1n9?file=src%2Fapp%2Fapp.component.html
Angular 6 https://stackblitz.com/edit/material-all-examples-quprqw?file=app%2Fapp.module.ts
€dit: I was able to create a version without that weird behaviour but instead it has no animation which is bad also.. https://stackblitz.com/edit/angular-ivy-ar4tjp?file=src%2Fapp%2Fapp.component.html