You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you were expecting:
I am changing all my Grid components to MUI6 Grid2 and I should not see a change in appearance.
What happened instead:
The items' size is not taken into consideration. I realized that I need to add width="100%" to the Grid2 container to make it work. Has anyone had the same issue ?
Steps to reproduce:
Simply change all Grid components to Grid2, in a SimpleForm (regular or RBAC)
What you were expecting:
I am changing all my Grid components to MUI6 Grid2 and I should not see a change in appearance.
What happened instead:
The items' size is not taken into consideration. I realized that I need to add width="100%" to the Grid2 container to make it work. Has anyone had the same issue ?
Steps to reproduce:
Simply change all Grid components to Grid2, in a SimpleForm (regular or RBAC)
`
`
The other solution I found was to modify the component in the theme:
components: { MuiGrid2: { styleOverrides: { container: { width: '100%' }, }, }, },
Also, please note that ra-form-layout WizardToolbar uses the depreciated Grid instead of Grid2.
Environment
The text was updated successfully, but these errors were encountered: