Skip to content

[data grid] The data grid (pro version) throws an error when resizing column if skeleton overlay is used (Chromium browsers only). #16127

@Th3N3tRunn3r

Description

@Th3N3tRunn3r

Steps to reproduce

Steps:

  1. Create a data grid pro with 6 columns. (The amount does not seem to change the outcome this is just my config.)
  2. Set the loading overlay to; loadingOverlay: { variant: 'linear-progress', noRowsVariant: 'skeleton' }
  3. Let the data grid populate.
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: data gridChanges related to the data grid.support: pro standardSupport request from a Pro standard plan user. https://mui.com/legal/technical-support-sla.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions