-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[EuiColorStops] Step value must be greater or equal to 1 #4761
Comments
Makes sense. It should just be a simple prop ( |
@thompsongl I don't understand your approach! Can you please elaborate slightly more on the purpose of introducing new prop |
The value of the new
(The valueInputProps object needs to have a step property)
Might be other locations, also, but these are the ones I know of without getting to code. |
@thompsongl Is this issue still open ? I would like to give it a try |
@JasonStoltz Noted! Thanks for letting me know |
While testing the EuiColorStops for the Lens editor we found out that the minimum step allowed by the component must be greather or equal to 1.
While there are workarounds to this, it would be useful to handle this internally within the component.
The user case that showed the bug was relative to percentage values, where
min
andmax
where set based on the data (for instance 0 - 0.92), and stops where mapped within that range. This triggered the bug:The text was updated successfully, but these errors were encountered: