-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
CardBody: change default value of isScrollable
to false
#33490
Conversation
Size Change: +9 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
Looking at the changelog, the recent changes in the |
It all depends if those changes will get published to npm at the same time. Gutenberg 11.1 was already branched and it probably is going to be used as a base for the next npm publishing. If this PR isn't going to be cherry-picked to 11.1 then it might be valuable to include an individual changelog entry, otherwise you can probably skip it. |
Thank you @gziolo! Just to confirm, I was going to add an entry to the |
Yes, correct 👍🏻 |
@@ -10,6 +10,7 @@ | |||
|
|||
- `isPrimary`, `isSecondary`, `isTertiary` and `isLink` props in `Button` have been deprecated. Use `variant` instead ([#31713](https://github.com/WordPress/gutenberg/pull/31713)). | |||
- `isElevated` prop in `Card` has been deprecated. Use `elevation` instead ([#32566](https://github.com/WordPress/gutenberg/pull/32566)). | |||
- `isScrollable` prop in `CardBody` default value changed from `true` to `false` ([#33490](https://github.com/WordPress/gutenberg/pull/33490)) |
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.
Noting that if we publish WordPress packages to npm from Guteberg 11.1 this week we will have to move up this entry and put into its own section.
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.
Is there also going to be a new release of the components package (e.g. 14.2.0)?
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.
Yes, we didn't have it for a while but now that WordPress 5.8 should be out tomorrow, there is no blocker anymore.
Description
Change the default value of the
isScrollable
prop in the<CardBody />
component fromtrue
tofalse
This fix is one way to solve the bug highlighted in #33439, although it has the potential to introduce breaking changes too.
How has this been tested?
<CardBody />
in Storybook:Screenshots
N/A
Types of changes
Fix + potential minor breaking change
Checklist:
*.native.js
files for terms that need renaming or removal).