-
-
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
DataGrid with "autoHeight" infinite re-renders and keeps increasing width #8447
Comments
Just tested with 5.17.26 and it doesn't happen. But with anything newer than that it does. |
It looks related to #8182 which has been fixed and released in v6.0.4. Can you try using v6.0.4 and see if the issue is still reproducible? If it is, it will be great to have a minimal reproduction in a codesandbox. You can use this as a starting point: https://codesandbox.io/s/datagrid-v5-quick-start-54iz1 |
Here is one related example with 6.0.4 and what I'm seeing in a project, though this doesn't use https://codesandbox.io/s/data-grid-community-forked-3ctumy
(this one can be fixed by moving the border from main container element to root) |
the bandicam.2023-04-03.19-58-39-184.mp4give the data grid a width. <DataGridPro
sx={{
width: "100%"
}}
....
<DataGridPro/> |
Since the issue is missing key information and has been inactive for 7 days, it has been automatically closed. If you wish to see the issue reopened, please provide the missing information. |
Any update on this bug. I can still see this exact issue in 6.7.0. |
set its parent display property to
|
This worked perfectly for us. Simple fix to ensure the the infinite horizontal growth went away. We only had 1/2 of the browsers affected by this issue. |
display: grid fixed a weird issue for me too. |
Im facing the same issue
|
Duplicates
Latest version
Steps to reproduce 🕹
Link to live example:
Steps:
<DataGrid />
with autoHeightCurrent behavior 😯
The DataGrid keeps expanding width
Expected behavior 🤔
It shouldn't
Context 🔦
"@mui/x-data-grid": "^6.0.3",
Demo-DateGrid.Bug.mov
Your environment 🌎
npx @mui/envinfo
Order ID or Support key 💳 (optional)
No response
The text was updated successfully, but these errors were encountered: