Border Radius: Invalid styles when unit is change without supplying value #42354
Labels
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
[Type] Bug
An existing feature does not function as intended
Description
It is possible to generate invalid
border-radius
styles for blocks adopting the border-radius block support. The invalid styles consist of only a CSS unit e.g.border-radius: rem;
The
BorderRadiusControl
was originally built following theBoxControl
which suffered the same issue. The related PR fixing this for theBoxControl
can be found in: #33444Step-by-step reproduction instructions
radius
Screenshots, screen recording, code snippet
Screen.Recording.2022-07-12.at.7.08.40.pm.mp4
Environment info
WP: Latest
Gutenberg:
trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: