bug(cdkTable): virtual scroll does not work for tables with cdkRowDefWhen
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- angular, typescript
- Área
- frontend
Línea de trabajo
Comienza con el cdk-table-virtual-scroll-example de StackBlitz enlazado, actualízalo a Angular 21.1, ejecútalo y desplázate por las tablas para reproducir el problema. Rastrea el comportamiento de la tabla con virtual scroll usando varias definiciones de cdkRowDefWhen; se considera terminado cuando las filas reutilizadas muestran sus propiedades igual que sin virtual scroll.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is this a regression?
- Yes, this behavior used to work in the previous version
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):
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.9k
- Merge medio
- 2 d 7 h
- PR fusionados (30 d)
- 83
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de angular/components
-
bug(mat-slider): on Firefox, slider thumb is not aligned with cursorPosiblemente ocupada @Devyalamaddi la tomó hace 4 días. Abiertoarea: material/slider P4
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
angular/components#34094 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug(material/sort): hover hint arrow on an unsorted header shows the active sort direction, not the resulting direction after click.Posiblemente ocupada @abdul-karim-mia la tomó hace 2 días. Abiertoarea: material/sort P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
angular/components#33933 ·
Los mantenedores suelen responder en 1 día
-
bug(mat-date-picker): month shown twice in date pickerPosiblemente ocupada @PreethiPantangi la tomó hace 54 días. Abiertoarea: material/datepicker P4
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
angular/components#33763 · 2 comentarios · 3 reacciones ·
Los mantenedores suelen responder en 1 día
-
Bug in table.scss footer cell height: unset instead of footer row height unsetPosiblemente ocupada @minwookshin la tomó hace 41 días. Abiertoarea: material/table P4
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
angular/components#33709 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug(date-adapter): Misleading JSDoc for createDate returns typePosiblemente ocupada @BHUVANSH855 la tomó hace 171 días. Abiertoarea: material/core P3
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
angular/components#33059 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de angular/components
Issues similares
-
bug parity
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
WenyuChiou/agent-board#1489 ·
Los mantenedores suelen responder en 1 día
-
area: bazaar bug complexity: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
accensa/x402-facilitator-stellar#779 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue P4 size:S web-ui
Dificultad 2/5 Medio día Aptitud para principiantes 85/100
josephfung/curia#2600 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
cloudflare/partykit#444 ·