Akryum / vue-virtual-scroller

⚡️ Blazing fast scrolling for any amount of data
https://vue-virtual-scroller-demo.netlify.app
9.23k stars 882 forks source link

RecycleScroller: Missing rows on rapid scrollbar use #863

Open yestellar opened 3 months ago

yestellar commented 3 months ago

Describe the bug

Hello,

I've encountered an issue with RecycleScroller while displaying a list of 10,000 items. When I scroll quickly using the scrollbar (not the mouse wheel), some rows fail to display, creating what appears as gaps in the list. This problem seems to stem from incorrect transformY calculations and typically arises after a few seconds of rapid scrolling, becoming more frequent thereafter. Is this a known issue, or could it be a result of my configuration?

Reproduction

Screenshot 2024-03-14 at 16 27 29 Screenshot 2024-03-14 at 16 27 06

System Info

Browser: Chrome
Vue version: ^3.4.15
vue-virtual-scroller version: ^2.0.0-beta.8

Used Package Manager

npm

Validations

yestellar commented 3 months ago

I didn't encounter this issue after downgrading to version v2.0.0-beta.3.

srackhall commented 3 months ago

I have also encountered this problem, but I can only quickly call the up and down scrolling API through the dom element in the code to eliminate this problem. This should be a bug in the library itself. Unfortunately, the author seems to have no time to maintain this library in the short term and seems to be focusing on other projects.