-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug(Table): filteredData of MatTableDataSource is not filled instantly on data change #21984
Labels
area: material/table
help wanted
The team would appreciate a PR from the community to address this issue
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
o-serhiichyk
changed the title
bug(Table): filteredData if MatTableDataSource is not filled instantly on data change
bug(Table): filteredData of MatTableDataSource is not filled instantly on data change
Feb 23, 2021
jelbourn
added
area: material/table
help wanted
The team would appreciate a PR from the community to address this issue
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
and removed
needs triage
This issue needs to be triaged by the team
labels
Feb 23, 2021
I confirmed that |
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 28, 2021
…onnected The data source was changed in angular#21338 so that it unsubscribes while it's disconnected. The problem is that the subscription has a side effect which updates `filteredData` as well. These changes add some logic so that `filteredData` is updated even if the source is disconnected. Fixes angular#21984.
annieyw
pushed a commit
that referenced
this issue
Mar 9, 2021
…onnected (#22058) The data source was changed in #21338 so that it unsubscribes while it's disconnected. The problem is that the subscription has a side effect which updates `filteredData` as well. These changes add some logic so that `filteredData` is updated even if the source is disconnected. Fixes #21984.
annieyw
pushed a commit
that referenced
this issue
Mar 9, 2021
…onnected (#22058) The data source was changed in #21338 so that it unsubscribes while it's disconnected. The problem is that the subscription has a side effect which updates `filteredData` as well. These changes add some logic so that `filteredData` is updated even if the source is disconnected. Fixes #21984. (cherry picked from commit 0093105)
This was referenced Mar 11, 2021
This was referenced Mar 18, 2021
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: material/table
help wanted
The team would appreciate a PR from the community to address this issue
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Reproduction
Steps to reproduce:
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
The text was updated successfully, but these errors were encountered: