-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Open
Labels
[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
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
- Use a box control with a default value empty/null;
- set the onChange to console log the value;
- observe that when only dragging the range slider the value returned is only a number
- observe that unit only gets added when unitcontrol is used
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Package] Components/packages/components/packages/components[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended