Closed
Description
Nested lazy-loaded expansion panels with a custom collapsed height lead to a flickering animation when uncollapsing the parent expansion panel for the first time.
Reproduction
Steps to reproduce:
- Nest two expansion panels with a custom collapsed height inside a lazy-loaded expansion panel
- Toggle the parent expansion panel
Expected Behavior
The expansion panel opens smoothly.
Actual Behavior
The height of the expansion panel flickers during the animation when opening the parent expansion panel for the first time.
Environment
- Angular: 11.2.11, 12.0.0
- CDK/Material: 11.2.11, 12.0.0
- Browser(s): any