Closed amirrahman132132 closed 1 year ago
sorry to hear that JamesPHoughton actually it was my mistake to not taking the step value accordingly now i have made some changes so if step is defined with number lets say step = 1 it will go to that pace, and if the step value is defined with step = 'any' it will snap to given ranges i hope that resolves your last query
and the example picture here is not accurate it was a prototype version of what i was making before the final one in this demo its placing labels only starting from 0 to max number not 1 to max that's what i realized later and made changes so it will distribute labels from min to max and not only 0 to max
you can check the comparision in this picture
Hey @amirrahman132132 - I'm sorry, I think I may have miscommunicated my intent with the adjustable locations. My hope was that the labels would display at the appropriate places based on their values, but there wouldn't be any changes to the behavior of the slider itself. That is, the user would still be able to click anywhere on the slider that is allowed by the max, min, and step values for the range. I expect that my "favorite irrational number" example might have been misleading, as it does seem like I'm asking you to select one of the labeled values. Sorry about that. Maybe it would have been more clear to say "Please pick any number on the slider. I have labeled some irrational numbers just for your reference" or something similar. 😬
Going back to your earlier post, I think what you had been showing me in this image might be a little closer to what I was actually hoping for:
It looks like in this slider the full range is selectable, and the labels are appropriately spaced?
Would it be easy to get that behavior back again?