Skip to content

[data grid] ResizeObserver loop errors with Cypress #17428

Open
@stealthrabbi

Description

@stealthrabbi

Steps to reproduce

When upgrading from x-data-grid-pro 7.17.0 to 7.26.0, the app encounters ResizeObserver loop errors on pages with data grids set to have auto height. The issue goes away when set to do a fixed height, but we want to use automatic height.

This does not happen in any browser we've tested except for when testing the page using Cypress.

[261:0416/215731.298403:INFO:CONSOLE(0)] "ResizeObserver loop completed with undelivered notifications.", source: https://myserver.com/somepage (0)
[261:0416/215804.453835:INFO:CONSOLE(0)] "ResizeObserver loop completed with undelivered notifications.", source: https://myserver.com/somepage (0)
Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.
We detected that the Electron Renderer process just crashed.
We have failed the current spec but will continue running the next spec.
This can happen for a number of different reasons.
If you're running lots of tests on a memory intense application.

  • Try increasing the CPU/memory on the machine you're running on.
  • Try enabling experimentalMemoryManagement in your config file.
  • Try lowering numTestsKeptInMemory in your config file during 'cypress open'.
    You can learn more here:
    https://on.cypress.io/renderer-process-crashed

Current behavior

No response

Expected behavior

No response

Context

No response

Your environment

$ npm ls | grep mui
├── @mui/[email protected]
├── @mui/[email protected]
├── @mui/[email protected]
├── @mui/[email protected]
├── @mui/[email protected]

Search keywords: data grid, cypress

Order ID: available on request

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something doesn't workcomponent: data gridThis is the name of the generic UI component, not the React module!staleThis PR has been inactive for more than 30 days. It will get closed after 90 days of inactivity.status: waiting for authorIssue with insufficient information

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions