-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[data grid] bug using firefox #15936
Comments
Which version of the data grid are you using? |
I am using |
I can't reproduce it in Firefox or Chrome with this demo: https://codesandbox.io/p/sandbox/mystifying-archimedes-75vlqw |
Now the problem is clear, I think after I upgraded to version 7.23.3 there was still a cache that caused the problem not to be clear.. |
All right ... I'll close the issue since the problem seems to be resolved! Thanks @cherniavskii ! |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @kanzaki337 How did we do? Your experience with our support team matters to us. If you have a moment, please share your thoughts in this short Support Satisfaction survey. |
Steps to reproduce
1. Create a DataGridPro with the following setup:
2. Run the application in Firefox.
3. Observe the error in the console.
Current behavior
When using DataGrid with a column configuration that includes flex: 1 and an empty rows array (rows={[]}), Firefox throws the following error:
Expected behavior
The DataGridPro should gracefully handle empty rows with flex-based column widths without throwing errors, regardless of the browser.
Context
No response
Your environment
npx @mui/envinfo
Search keywords: mui, x-data-grid
Order ID: aass
The text was updated successfully, but these errors were encountered: