Skip to content

[docs][material-ui][Grid] Update grid migration guide #46057

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sai6855
Copy link
Contributor

@sai6855 sai6855 commented May 2, 2025

related to #44201 (comment)

This PR updates the migration guide to version 6 (upgrade-to-v6.md) by adding details about changes to the default behavior of the Grid component.

Documentation updates:

  • Grid Component Behavior: Added a new section explaining that the updated Grid component no longer grows to the full width of the container by default.

Above section is already present in https://mui.com/material-ui/migration/upgrade-to-grid-v2/#container-width but missing in https://mui.com/material-ui/migration/upgrade-to-v6/#grid2

preview: https://deploy-preview-46057--material-ui.netlify.app/material-ui/migration/upgrade-to-v6/#grid2

@sai6855 sai6855 added docs Improvements or additions to the documentation component: Grid The React component. package: system Specific to @mui/system package: material-ui Specific to @mui/material labels May 2, 2025
@mui-bot
Copy link

mui-bot commented May 2, 2025

Netlify deploy preview

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 3b82d00

@sai6855 sai6855 requested a review from siriwatknp May 2, 2025 06:46
@sai6855 sai6855 enabled auto-merge (squash) May 2, 2025 06:49
@sai6855 sai6855 added v6.x needs cherry-pick The PR should be cherry-picked to master after merge labels May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Grid The React component. docs Improvements or additions to the documentation needs cherry-pick The PR should be cherry-picked to master after merge package: material-ui Specific to @mui/material package: system Specific to @mui/system v6.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants