Can we set stepValue of DynamicRangeSlider between 0 and 1 for handling small values? #2233
Unanswered
ubaranzorlu
asked this question in
Q&A
Replies: 1 comment
-
Anyone have any idea to share on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello folks!
I love using reactivesearch; it saved me tons of time building my search tool. However, I have a critical problem and considering rewriting DynamicRangeSlider according to my needs and asking for help to see if there are any solutions to my problem.
I have a dataset of football data on actions on 90 minutes basis.
This means 4 goals scored in 670 playing minutes comes to about 4 / 670 * 90 = 0.53
My start value for this calculation is 0, and the end is 0.93, let's say. I see lots of "stepValue be greater than 0 and less than or equal to 0" messages for this parameter, and it causes DynamicRangeSlider to crash / not update the component.
This gif illustrates that even though the max is 0.69, the component maintains the old state of 15 max before crashing.
The docs quotes:
Can stepValue be set between 0 and 1 for handling these values, or are there other solutions you used to tackle such cases?
Thanks for sparing time to answer 🙏🏻
Beta Was this translation helpful? Give feedback.
All reactions