You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
isScrollable prop in CardBody component is causing a visual glitch in pre-existing components without isScrollable prop. #33439
The latest Gutenberg (11.0) causes a visual glitch on WooCommerce onboarding wizard pages where Card component is being used.
It looks like isScrollable has been added recently and the default value is set to true. I think the default value should be false to prevent any backward compatibility issues.
Step-by-step reproduction instructions
Deactivate plugins except for Gutenberg and WooCommerce
Navigate to WooCommerce -> Home to trigger the onboarding wizard.
Click the country dropdown and confirm the unexpected scrollbar.
Deactivate Gutenberg and repeat the same step. Confirm there is no scrollbar for this time.
Expected behaviour
The scrollbar should not appear.
Actual behaviour
Unexpected scrollbar appears where Card component is being used.
Screenshots or screen recording (optional)
WordPress information
WordPress version: 5.7.2
Gutenberg version: 11.0.0
Are all plugins except Gutenberg deactivated? No (WooCommerce is activated)
Are you using a default theme (e.g. Twenty Twenty-One)? Yes
changed the title [-]CardBody's isScrollable is causing a visual glitch in pre-existing components with isScrollable prop.[/-][+]isScrollable prop in CardBody component is causing a visual glitch in pre-existing components with isScrollable prop.[/+]on Jul 14, 2021
changed the title [-]isScrollable prop in CardBody component is causing a visual glitch in pre-existing components with isScrollable prop.[/-][+]isScrollable prop in CardBody component is causing a visual glitch in pre-existing components without isScrollable prop.[/+]on Jul 14, 2021
Thank you @talldan for the ping — I opened (update: and merged) #33490 which changes the default value of isScrollable to false.
Once that PR gets included in the next Gutenberg release, it'd be great if we could revert the hotfix, since it looks quite hacky — @moon0326 , would you be able to track this task on your side?
Thank you @talldan for the ping — I opened (update: and merged) #33490 which changes the default value of isScrollable to false.
Once that PR gets included in the next Gutenberg release, it'd be great if we could revert the hotfix, since it looks quite hacky — @moon0326 , would you be able to track this task on your side?
Thank you @ciampo for the PR 🙇 I'll track the task on my side.
Activity
[-]CardBody's isScrollable is causing a visual glitch in pre-existing components with isScrollable prop.[/-][+]isScrollable prop in CardBody component is causing a visual glitch in pre-existing components with isScrollable prop.[/+][-]isScrollable prop in CardBody component is causing a visual glitch in pre-existing components with isScrollable prop.[/-][+]isScrollable prop in CardBody component is causing a visual glitch in pre-existing components without isScrollable prop.[/+]moon0326 commentedon Jul 15, 2021
WC Admin team is working on a fix for wordpress.com customers in this PR
talldan commentedon Jul 15, 2021
@moon0326 Do you know which PR caused the issue?
moon0326 commentedon Jul 15, 2021
@talldan I think this PR caused the issue.
talldan commentedon Jul 16, 2021
Thanks @moon0326.
@ciampo Is this something you'd have time to take a look at?
ciampo commentedon Jul 16, 2021
Thank you @talldan for the ping — I opened (update: and merged) #33490 which changes the default value of
isScrollabletofalse.Once that PR gets included in the next Gutenberg release, it'd be great if we could revert the hotfix, since it looks quite hacky — @moon0326 , would you be able to track this task on your side?
moon0326 commentedon Jul 17, 2021
Thank you @ciampo for the PR 🙇 I'll track the task on my side.
It looks like the next release date is July 28, 2011, according to https://github.com/WordPress/gutenberg/milestones.
I'm setting a reminder to check it back on July 29, 2021. I'll work on a PR to revert back my change once I confirm the change in the new version.
talldan commentedon Jul 30, 2021
Closing this as it seems like the issue has been fixed in this repo.