-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Closed
Labels
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tablehelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue
Description
Reproduction
Steps to reproduce:
- Use Material 11.1.0 or above (up to 11.2.1).
- Create table with *ngIf that checks 'filteredData' property of table's MatTableDataSource.
- Clear 'data' property of MatTableDataSource.
- Set some 'data' to MatTableDataSource.
https://stackblitz.com/edit/components-issue-rgcbps?file=src/app/example-component.ts
Expected Behavior
Table is hidden and then displayed again.
Actual Behavior
Table is hidden and can not be displayed.
P.S. Everything works fine with Material 11.0.4 and below.
Environment
- Angular: 11.2.1
- CDK/Material: 11.2.1
- Browser(s): Chrome
- 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 urgentAn issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/tablehelp wantedThe team would appreciate a PR from the community to address this issueThe team would appreciate a PR from the community to address this issue