Open albanyacademy opened 1 month ago
Thanks for the report. I don't know if this specification was intended or a bug, but I was able to reproduce the problem on Storybook.
https://github.com/WordPress/gutenberg/assets/54422211/77943da7-d413-4adb-b7e6-b78343056060
Interesting. It might be debatable, but I think we can say this is a bug.
Description
When using the __experimentalBoxControl with all values as null, the unit for each side is only set when the UnitControl itself is changed. When one uses the RangeControl first and drags to a number, the value received is just the number itself without a unit attached.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
https://www.screencast.com/t/I3RDlCL9ht2
Environment info
wp 6.5.2
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