Steps to reproduce
When using DataGridPro within DashboardLayout, the table does not resize properly when the menu is expanded.
Here are the steps to reproduce the issue:
- Use the DataGridPro component with sufficient horizontal data and integrate it into a page with routing and navigation using
React and toolpad.
- Initially, everything renders correctly.
- Collapse the menu and then expand it, at which point the DataGrid table does not resize properly.
To resolve this issue, you can add overflow: hidden to the 4th DOM element, which, in my case, is a div with the classname
MuiBox-root and is a child of the AppProvider root element.
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfo
Don't forget to mention which browser you used.
Output from `npx @mui/envinfo` goes here.
Search keywords: DataGridPro DashboardLayout
Steps to reproduce
When using DataGridPro within DashboardLayout, the table does not resize properly when the menu is expanded.
Here are the steps to reproduce the issue:
React and toolpad.
To resolve this issue, you can add overflow: hidden to the 4th DOM element, which, in my case, is a div with the classname
MuiBox-root and is a child of the AppProvider root element.
Current behavior
No response
Expected behavior
No response
Context
No response
Your environment
npx @mui/envinfoSearch keywords: DataGridPro DashboardLayout