Closed
Description
Factoried components containing expansion panels will show the expansion panels as open when the component is inside another (like sidenav) that enters the DOM. Non-factoried expansion panels do not have the same issue. Likely related to #11765
Reproduction
https://stackblitz.com/edit/sidenav-accordion-expansion
Steps to reproduce:
- Open the sidenav
- Should see the accordion is open during sidenav enter
Expected Behavior
Sidenav should not be open during sidenav enter
Environment
- Angular: 8
- CDK/Material: 8
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): OSX High Sierra