Skip to content

bug(MatBottomSheet): Async state changes not detected and rendered #21141

@vyrotek

Description

@vyrotek

Please reevaluate and reopen this issue:

#11627

Confirmed to still be an issue with Ang/Material 11.

Expected Behavior

When the component state within a sheet is updated from an async subscription (ex. HttpClient call) it should render the changes.

Actual Behavior

Changes are not detected and the UI is not updated.

Manual markForCheck or detectChanges is required to update the UI.

Environment

  • Angular: 11
  • CDK/Material: 11
  • Browser(s): Chrome/Edge
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions