You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When scrolling fast (either with the mouse wheel or by grabbing the scroll bar) and the Grid has Virtualize = true, the scrollbar jumps around and does not scroll fluidly.
💻 Repro or Code Sample
Here is a screenshot of the demo site on the Virtualize page. Watch the scroll bar as I use the mouse wheel to scroll down on the page.:
🤔 Expected Behavior
The grid should scroll without the scroll bar jumping around.
The text was updated successfully, but these errors were encountered:
So I took a look at the code and I think this is being caused by the Task.Delay in the ProvideVirtualizedItemsAsync method.. this delay was made to avoid too many requests when scrolling quickly (as the comments say). If i remove the task delay, the scrolling seems pretty 'fluid' or atleast, it doesn't jump back and forth like you showed:
Bezig.met.opnemen.2025-03-08.223146.mp4
I'm not entirely sure on how we would want to fix this, as i can also see the benefit of trying to avoid too many requests from scrolling. The code comment itself suggests making this configurable or smarter by increasing the delay as the amount of requests increases.
🐛 Bug Report
When scrolling fast (either with the mouse wheel or by grabbing the scroll bar) and the Grid has
Virtualize = true
, the scrollbar jumps around and does not scroll fluidly.💻 Repro or Code Sample
Here is a screenshot of the demo site on the
Virtualize
page. Watch the scroll bar as I use the mouse wheel to scroll down on the page.:🤔 Expected Behavior
The grid should scroll without the scroll bar jumping around.
The text was updated successfully, but these errors were encountered: