-
Notifications
You must be signed in to change notification settings - Fork 417
fix: FluentDataGrid starts to flicker on large datasets #3684
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
For me, with your code, it just stops rendering the grid at a certain point: I've copied the code to a new standard Blazor project and tried it with the standard QuickGrid and I'm seeing the same behaviour there: It happens only at a later point in going through the data. But as it is also happening there, I'm suspecting the I think it would be best to open an issue in the aspnetcore repo for this |
If I in my environment starts with 440k entries and try to scroll down by clicking the arrow, the behavior is showing. So you think the problem isn't within Microsoft.FluentUI.AspNetCore.Components but AspNetCore instead? If so, will you escalate it? |
Yes, it think it is in AspNetCore itself. If you add a new standard Blazor Web App (Server/per page) project to the solution you shared and add the below code to the homepage, you should be able to observe the same issue (although most probably at a different location in the scrolling process).
|
Let's first see if you can recreate the issue with standard Blazor as well. If so, we can determine next steps |
I haven't been able to reproduce it with quickgrid, even though I started with 1M rows |
That is weird. You can clearly see it going off the rails in the screenshot I posted. Are you sing the same code I posted? Or something different? Have you tried just moving the scroll bar almost all the way down to the end in a quick motion? |
Yes, scrolling with the arrow buttons, mouse wheel and dragging and clicking the scroll bar creates no problem. But, if I drag the scrollbar to the end, it fails. |
With the standard Blazor code? If yes, that shows it is a Blazor /Virtualize issue, I believe. |
Strange, now I managed to force the errors without any problems. I agree that the issue is not withing this package Recording.2025-04-17.080519.mp4 |
How do we continue, should I create an issue for this? |
We've established it is an ASP. NET Core /quickgrid issue as well. I would recommend to create an issue there (with the reproduction code we used). At this moment I do not think there is anything we can do. |
🐛 Bug Report
With larger rowcounts in dataset, the FluentDataGrid ui starts a rerendering loop or something, the grid is flickering forever.
💻 Repro or Code Sample
I've provided a sample code and on my machine this behavior occurs between 430k and 440k rows.
🤔 Expected Behavior
Datagrid should be able to handle larger datasets.
😯 Current Behavior
On my pc, FluentDataGrid shows this behavior above 430k rows
💁 Possible Solution
🔦 Context
FluentDataGrid cannot be used on larger datasets.
FluentDataGridIssue.zip
🌍 Your Environment
Win11, Edge and VS2022. Everything updated to the latest
The text was updated successfully, but these errors were encountered: