Is this a regression?
The previous version in which this bug was not present was
No response
Description
Virtual scroll does not work for tables with multiple cdkRow definitions. Properties remain undefined when a line from another definition is reused.
Reproduction
StackBlitz link: cdk-table-virtual-scroll-example
Steps to reproduce:
- download and update the project to Angular 21.1 (sorry, I struggled with updating on StackBlitz)
- run the project and scroll the tables down
Expected Behavior
See the lines as if there were no virtual scroll.
Actual Behavior
Rows that have reused a row of the other definition doesn't show their property. It is undefined.
Environment
- Angular: 21.1.0
- CDK/Material: 21.1.0
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):
Is this a regression?
The previous version in which this bug was not present was
No response
Description
Virtual scroll does not work for tables with multiple cdkRow definitions. Properties remain undefined when a line from another definition is reused.
Reproduction
StackBlitz link: cdk-table-virtual-scroll-example
Steps to reproduce:
Expected Behavior
See the lines as if there were no virtual scroll.
Actual Behavior
Rows that have reused a row of the other definition doesn't show their property. It is undefined.
Environment