bug(cdk-virtual-scroll): Scrolling fast makes the viewport blank until scrolling stops
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
#### 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
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par la reproduction StackBlitz liée et confirmez le viewport vide lors d’un déplacement rapide de la barre de défilement. Suivez ensuite l’implémentation Angular CDK virtual-scroll et comparez les deux viewports, y compris celui qui utilise le workaround signalé. La tâche est terminée lorsque les deux viewports restent remplis pendant un défilement rapide et que des tests de régression couvrent le comportement reproduit.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100