-
-
Notifications
You must be signed in to change notification settings - Fork 32.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
[material-ui][Grid2] Child Grids in custom component are not aligned on the same row as expected #44037
Comments
Hey @Tasin5541! Thanks for the report. This should've been fixed with #43733, which has just been released in Here's the updated example: https://codesandbox.io/p/sandbox/issue-44037-updated-n47gsw?file=%2Fsrc%2FApp.tsx |
The issue with the custom component is fixed. However, we have found another issue where textfield and labels are not taking proper space (works fine with the deprecated |
@Tasin5541 sorry for the late reply, I was out of office. Please open a new issue describing the behavior. This makes things easier for us to track. Feel free to assign me to it when you do. |
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue. Note @Tasin5541 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
Link to live example: https://stackblitz.com/edit/react-2x2v7n?file=Demo.tsx
Steps:
size={6}
defined.Current behavior
The buttons are rendered on separate rows when using the
FormButton
component, even though they should be on the same row.Expected behavior
The two buttons, "Search" and "Reset", should be displayed side by side in the same row, similar to the second Grid example where the button code is directly in the JSX.
Context
We recently upgraded our project from MUI v5 to v6. Our application layouts heavily depend on
Grid
. We tried replacing the deprecated version withGrid2
and ran into this issue.Your environment
npx @mui/envinfo
Search keywords: Grid, Grid2, Grids in custom component
The text was updated successfully, but these errors were encountered: