Steps to reproduce
Steps:
- Create a data grid pro with 6 columns. (The amount does not seem to change the outcome this is just my config.)
- Set the loading overlay to;
loadingOverlay: { variant: 'linear-progress', noRowsVariant: 'skeleton' }
- Let the data grid populate.
- Try to resize a column in Edge or Chrome. You should receive an error like so;
MUI X: Expected skeleton cells to be defined with data-field attribute.
Current behavior
When creating a data grid (pro version) with loadingOverlay: { variant: 'linear-progress', noRowsVariant: 'skeleton' } it throws an error when resizing a column in the Edge and Chrome browsers. If you then switch 'skeleton' to 'linear-progress' the error does not occur.
Expected behavior
The data grid shouldn't throw an error when resizing a column in the Edge or Chrome browsers.
Context
I wish to use the skeleton overlay for my data grids are loading their rows.
Your environment
npx @mui/envinfo
System:
OS: macOS 15.2
Binaries:
Node: 20.14.0 - ~/.nvm/versions/node/v20.14.0/bin/node
npm: 10.8.2 - ~/.nvm/versions/node/v20.14.0/bin/npm
pnpm: Not Found
Browsers:
Edge, Chrome both have this issue.
Safari does not.
npmPackages:
react: 18.3.1
@mui/x-data-grid-pro: 7.23.6,
Search keywords: overlay, data, grid, skeleton
Steps to reproduce
Steps:
loadingOverlay: { variant: 'linear-progress', noRowsVariant: 'skeleton' }MUI X: Expected skeleton cells to be defined withdata-fieldattribute.Current behavior
When creating a data grid (pro version) with
loadingOverlay: { variant: 'linear-progress', noRowsVariant: 'skeleton' }it throws an error when resizing a column in the Edge and Chrome browsers. If you then switch'skeleton'to'linear-progress'the error does not occur.Expected behavior
The data grid shouldn't throw an error when resizing a column in the Edge or Chrome browsers.
Context
I wish to use the skeleton overlay for my data grids are loading their rows.
Your environment
npx @mui/envinfoSearch keywords: overlay, data, grid, skeleton