-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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(CdkTable): 10.2 has a breaking change wrt _VIEW_REPEATER_STRATEGY #20601
Labels
area: cdk/table
P2
The issue is important to a large percentage of users, with a workaround
regression
This issue is related to a regression
Comments
crisbeto
added
area: cdk/table
has pr
P2
The issue is important to a large percentage of users, with a workaround
and removed
needs triage
This issue needs to be triaged by the team
labels
Sep 18, 2020
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Sep 18, 2020
The `_viewRepeater` parameter is currently optional due to our breaking change policy, however if it isn't provided, the table is basically a no-op. These changes add the old rendering logic while we have to support both cases. Fixes angular#20601.
wagnermaciel
pushed a commit
to wagnermaciel/components
that referenced
this issue
Sep 24, 2020
…gular#20604) The `_viewRepeater` parameter is currently optional due to our breaking change policy, however if it isn't provided, the table is basically a no-op. These changes add the old rendering logic while we have to support both cases. Fixes angular#20601.
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. |
wagnermaciel
pushed a commit
to wagnermaciel/components
that referenced
this issue
Jan 14, 2021
…gular#20604) The `_viewRepeater` parameter is currently optional due to our breaking change policy, however if it isn't provided, the table is basically a no-op. These changes add the old rendering logic while we have to support both cases. Fixes angular#20601.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
area: cdk/table
P2
The issue is important to a large percentage of users, with a workaround
regression
This issue is related to a regression
Our design system is still on Angular 9 (until angular 11 is released, then we can move to 10).
We cannot support CDK 10.2.* because it requires us to add
{ provide: _VIEW_REPEATER_STRATEGY, useClass: _DisposeViewRepeaterStrategy }
to our table component (which extendsCdkTable
). However, this is new code in 10.2 and thus we cannot use it.The result is a table with no rows if you don't provide the repeater. See https://github.com/angular/components/blob/10.2.x/src/cdk/table/table.ts#L560 for the reason there are no rows if there is no repeater provided.
cc @jelbourn
The text was updated successfully, but these errors were encountered: