bug(cdk-virtual-scroll): Scrolling fast makes the viewport blank until scrolling stops
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
#### Reproduction
https://stackblitz.com/edit/angular-qxcwbr
Steps to reproduce:
There are two virtual scroll viewports - the first has the problem. Take the scroll bar with the mouse and scroll down fast. The whole viewport will be blank as long as you scroll.
The second viewport uses a bizarre fix and if you try the same it will magically work.
#### Expected Behavior
Both of the viewports should scroll without viewport going blank
#### Actual Behavior
Without the bizarre fix the viewport becomes blank while fast scrolling
#### Environment
- Angular: 10.2.2
- CDK/Material: 10.2.7
- Browser(s): Chrome Version 86.0.4240.111 (Official Build) (64-bit)
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 10
Guía de contribución
Línea de trabajo
Comienza con la reproducción enlazada de StackBlitz y confirma el viewport en blanco durante un movimiento rápido de la barra de desplazamiento. Después, sigue la implementación de Angular CDK virtual-scroll y compara los dos viewports, incluido el que utiliza el workaround indicado. La tarea estará terminada cuando ambos viewports sigan mostrando contenido al desplazarse rápidamente y exista cobertura de pruebas de regresión para el comportamiento reproducido.
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
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100