[data grid] Skeleton loading overlay doesn't sync with the scroll #16436
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
Steps to reproduce
Steps:
noRowsVariant: "skeleton"
to fix the issueCurrent behavior
For the scroll to be in-sync with the skeleton loading, we explicitly have to pass
slotProps.loadingOverlay.noRowsVariant: 'skeleton'
since theGridOverlayWrapper
does some styling computation based on that.mui-x/packages/x-data-grid/src/components/base/GridOverlays.tsx
Lines 37 to 49 in 17ef10c
Expected behavior
The skeleton loading overlay works without the explicit need to pass the slot prop.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: skeleton overlay
The text was updated successfully, but these errors were encountered: