+ 15
I wanted to know how can we smoothen the movement of a range Slider like when we change the value of a input (range type) smooth
My code https://code.sololearn.com/WFksLD3ZRWUi/?ref=app https://code.sololearn.com/WFksLD3ZRWUi/?ref=app
13 Answers
+ 13
RISHABH
The small range smooth slider here is what you want I'm guessing: https://www.cssscript.com/simple-smooth-range-slider/
Although it doesn't snap to the nearest range point if you leave it a stage in between!
And one more thing you can add a step attribute and use a value between 0 and 1!
Like for an example you can try 0.001!
Hope helpsâïž
+ 10
RISHABH to make it smooth increase max value or reduce step
Ex - step = ".1"
+ 9
Yes just what Mikhail said or u can decrease ur intervals :) using step
https://code.sololearn.com/WJMoZHJgkerC/?ref=app
+ 9
RISHABH So just reduce step it will become smooth between these two value also
+ 9
Use minimum step value.
+ 8
Just make âmaximumâ value greater) for example max=200đ€
+ 6
Mitali I want without changing the step value so that I can get tbe perfect value from the user đ
+ 4
Mikhail I want to smoothen between this range value only and increase it with the same pace, then is it possible
+ 4
RISHABH if u wanna get perfect value from user then i say u should minimize the step value as user wanna select 2.37 or 3.9 but he can only select 1 2 3 4 :) so minimize the step value
+ 3
Harsh I want to smoothen between this range value only and increase it with the same pace, then is it possible đ
+ 2
Decrease the intervals just
Decrease interval to 0.01
The u will get a smooth slider
Happy coding
đ
+ 1
Either increase the range between min and max or decrease the value of step to something like 0.1 or 0.01