I have the following situation:
<mat-accordion>
<app-mycomponent *ngFor=[...] />
<mat-accordion>
The root element inside app-mycomponent is a mat-expansion-panel.
Now, the expansion panels work all fine. But they are not neatly grouped together in an accordion because I believe the styles break due to app-mycomponent being the direct children of the accordion.
Can anyone suggest a workaround? Thanks a heap!