Skip to content

ExpansionPanel in content projection in modal closes after first open #17177

Closed
@ivanivanyuk1993axelot

Description

@ivanivanyuk1993axelot

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-pjv1un

Steps to reproduce:

  1. Open modal
  2. Close modal
  3. Open modal

Expected Behavior

Expansion panel is opened

Actual Behavior

Expansion panel is closed(it has correct class, but style visibility: hidden, height: 0)

Environment

  • Angular: ~8.2.0
  • CDK/Material: ^8.2.0
  • Browser(s): Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Ubuntu, Windows 10

Metadata

Metadata

Assignees

Labels

P4A relatively minor issue that is not relevant to core functionsanimationThis issue is related to Angular animations or CSS animationsarea: material/dialogarea: material/expansion

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions