[DataGrid] Using mouseup
event for focus affects performance
#9118
Labels
component: data grid
This is the name of the generic UI component, not the React module!
performance
After the change in #6489, the grid focus now happens on the
mouseup
event. Unfortunately, this means that react can't batch the updates that happen during theclick
event, so it needs to render twice whenever there is a focus change.mui-x/packages/grid/x-data-grid/src/hooks/features/focus/useGridFocus.ts
Lines 440 to 447 in 463de84
We should revert that change and fix the demo issue otherwise.
The text was updated successfully, but these errors were encountered: