Skip to content
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][Grid] Deprecate the wrap prop #41250

Closed
DiegoAndai opened this issue Feb 23, 2024 · 1 comment · Fixed by #42363
Closed

[material-ui][Grid] Deprecate the wrap prop #41250

DiegoAndai opened this issue Feb 23, 2024 · 1 comment · Fixed by #42363
Assignees
Labels
component: Grid The React component. deprecation New deprecation message package: material-ui Specific to @mui/material ready to take Help wanted. Guidance available. There is a high chance the change will be accepted

Comments

@DiegoAndai
Copy link
Member

DiegoAndai commented Feb 23, 2024

Deprecate the wrap prop and mark it as "to be removed".
A codemod should be added alongside it.

Why

It duplicates the flexWrap MUI system property functionality: https://codesandbox.io/s/basicgrid-material-demo-forked-0eebd?file=/demo.tsx.

@DiegoAndai DiegoAndai added component: Grid The React component. deprecation New deprecation message package: material-ui Specific to @mui/material ready to take Help wanted. Guidance available. There is a high chance the change will be accepted labels Feb 23, 2024
@DiegoAndai DiegoAndai added this to the Material UI: v6 milestone Feb 23, 2024
@DiegoAndai DiegoAndai moved this to Selected in Material UI Feb 23, 2024
@DiegoAndai DiegoAndai moved this from Selected to Backlog in Material UI Apr 22, 2024
@fedirjh
Copy link
Contributor

fedirjh commented May 23, 2024

cc @DiegoAndai I will take this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Grid The React component. deprecation New deprecation message package: material-ui Specific to @mui/material ready to take Help wanted. Guidance available. There is a high chance the change will be accepted
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants