Scrolling SDK (virtual-scroll) - View isn't updated when list is updated (items added/removed)
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### What is the expected behavior?
If a data-list that binded to ``, is updated (items are added/ removed from this list), the `` updated as well.
#### What is the current behavior?
Changing the list will not updated the view (``)
#### What are the steps to reproduce?
StackBlitz starter: https://stackblitz.com/edit/angular-hsr4tz?file=app%2Fcdk-virtual-scroll-overview-example.html
In this demo you can see that after adding items to the list, the view isn't updated.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 7.1.4
Material 7.2.0
Browser: Chrome
#### Is there anything else we should know?
The documentation doesn't discuss about adding/removing items from data-list.
See docs at: https://material.angular.io/cdk/scrolling/overview
Guía de contribución
Línea de trabajo
Reproduce el comportamiento del ejemplo de StackBlitz enlazado añadiendo y eliminando elementos de la lista enlazada a cdk-virtual-scroll-viewport. Lee la descripción general del desplazamiento de CDK y rastrea el comportamiento de virtual-scroll implicado; se considera completado cuando el viewport refleja los cambios de la lista y la documentación explica este comportamiento.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100