Recent update breaks RangeControl step #14319
Labels
[Feature] UI Components
Impacts or related to the UI component system
[Package] Components
/packages/components
[Type] Bug
An existing feature does not function as intended
Describe the bug
Pull request #12952 breaks the ability to use a step less than 1. For example, if you set the step to 0.1 you can't slide the slider to anything but whole numbers.
Being able to set the range control step is really useful for inputs that control opacity, em units etc...
This change from pull request #12952 breaks several controls in Kadence Blocks.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The range control should allow the steps to be whatever is set through the properties of the input.
Desktop (please complete the following information):
Any - all.
Additional context
A simple workaround to keep the new functionality added with pull request #12952 would be to change line 52 to this instead:
The text was updated successfully, but these errors were encountered: