Skip to content

Expansion panels in factoried content are open initially #16503

Closed
@pburkindine

Description

@pburkindine

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:

  1. Open the sidenav
  2. 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

Metadata

Metadata

Assignees

Labels

P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/expansion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions