仓库指标
- 星标
- (10,394 个星标)
- PR 合并指标
- (平均合并 6天 6小时) (30 天内合并 108 个 PR)
描述
Before reporting
- I searched existing issues
- I tried in private/incognito browser
What went wrong?
Loading a MudDataGrid with ~100 records of 8 columns causes massive delays when clicking on multiple cells. For example, if you accidentally click a cell, then quickly click another, there is a significant delay before the second input is available. Another example is when rendering checkboxes per row. Clicking checkboxes in rapid succession causes a delay in showing the new state and sometimes skips rows.
In the provided reproduction link, the sample data is 150 rows where the TryMudBlazor shows the issue. In our production app, this is a problem with as few as 50 rows.
I am using EditTemplate on each cell to be able to use the HideSpinButtons property of the MudNumericField as that is a requirement for our app. I believe I have done as much optimization as I can, but this is still a problem. I imagine the situation will only be worse on our user's browsers with much lower spec'd machines.
This is observable in Firefox and Chrome browsers
Reproduction link
https://try.mudblazor.com/snippet/waQTOXOCiumUqUWU
Reproduction steps
- Click the "Load Data" button. This will just create 150 rows of hard-coded sample data
- Click on any numeric cell, and quickly click another 2 or three
- Notice the delay before being able to edit the third cell
Version (bug)
v8.x.x.
Version (working)
N/A
Environment
No response
Blazor rendering mode
WASM