[WordPress 6.4.RC1][Site Editor] When specifying padding for top and bottom, the unit is changed from rem to px the moment dot is typed in the numeric field #55559
Labels
[Feature] Layout
Layout block support, its UI controls, and style output.
Needs Testing
Needs further testing to be confirmed.
[Type] Bug
An existing feature does not function as intended
Description
When specifying padding for top and bottom, the unit is changed from rem to px the moment dot is typed in the numeric field, even though rem is specified as the unit.
When using a slider to specify padding, it is possible to specify something like "0.25 rem" (It takes a lot of time and effort).
For example, immediately after entering "0.25", the numeric value is forced to change to "0" at the moment the unit is changed from px to rem.
It is possible to avoid this problem by changing the unit to "rem" first, then entering "14" in the number field, and finally adding "dot" to make it "1.4", but the operation seems physiologically strange.
The same problem does not occur when specifying left and right padding.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: