-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[codemod] Remove disableExtendRowFullWidth
prop
#7508
[codemod] Remove disableExtendRowFullWidth
prop
#7508
Conversation
These are the results for the performance tests:
|
@@ -65,7 +65,7 @@ The minimum supported Node.js version has been changed from 12.0.0 to 14.0.0, si | |||
The old behavior can be restored by using `apiRef.current.stopRowEditMode({ ignoreModifications: true })` or `apiRef.current.stopCellEditMode({ ignoreModifications: true })`. | |||
- The `onColumnVisibilityChange` prop was removed. Use `onColumnVisibilityModelChange` instead. | |||
- The `components.Header` slot was removed. Use `components.Toolbar` slot instead. | |||
- The `disableExtendRowFullWidth` prop was removed. | |||
- ✅ The `disableExtendRowFullWidth` prop was removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How does user reach the same behavior without this prop?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the purpose is to show/hide the right border for last column/header cell, showCellVerticalBorder
and showColumnVerticalBorder
could be used to achieve that. disableExtendRowFullWidth
was only adding a border to the right of last cell. We can try to have a proper fix for this if requested by some users.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe worth adding a small sentence like
You can reproduce the behavior by adding a right border to rows' last cell
Otherwise, as a user reading the breaking change, I see the prop has been removed, but I have no clue about the impact it has (especially if the dev how added it is not anymore in the team). Which is not good for the confidence dev have in the migration guide
disableExtendRowFullWidth
prop
Part of #7086
Codemod for change done in #7373