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 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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

3rd Dec 2020, 10:19 AM
RISHABH
RISHABH - avatar
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✌️
3rd Dec 2020, 12:51 PM
Piyush
Piyush - avatar
+ 10
RISHABH to make it smooth increase max value or reduce step Ex - step = ".1"
3rd Dec 2020, 10:27 AM
Harsh
Harsh - avatar
+ 9
Yes just what Mikhail said or u can decrease ur intervals :) using step https://code.sololearn.com/WJMoZHJgkerC/?ref=app
3rd Dec 2020, 10:24 AM
Shino
Shino - avatar
+ 9
RISHABH So just reduce step it will become smooth between these two value also
3rd Dec 2020, 10:30 AM
Harsh
Harsh - avatar
+ 9
Use minimum step value.
3rd Dec 2020, 12:17 PM
Mitali
Mitali - avatar
+ 8
Just make ‘maximum’ value greater) for example max=200🤔
3rd Dec 2020, 10:23 AM
Mikhail
Mikhail - avatar
+ 6
Mitali I want without changing the step value so that I can get tbe perfect value from the user 😄
3rd Dec 2020, 12:23 PM
RISHABH
RISHABH - avatar
+ 5
Mitali I got the answer from Mikhail
3rd Dec 2020, 12:23 PM
RISHABH
RISHABH - avatar
+ 4
Mikhail I want to smoothen between this range value only and increase it with the same pace, then is it possible
3rd Dec 2020, 10:25 AM
RISHABH
RISHABH - avatar
+ 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
3rd Dec 2020, 12:39 PM
Shino
Shino - avatar
+ 3
Harsh I want to smoothen between this range value only and increase it with the same pace, then is it possible 😅
3rd Dec 2020, 10:29 AM
RISHABH
RISHABH - avatar
+ 2
Decrease the intervals just Decrease interval to 0.01 The u will get a smooth slider Happy coding 💐
4th Dec 2020, 4:40 AM
The INDIAN
The INDIAN - avatar
+ 1
Either increase the range between min and max or decrease the value of step to something like 0.1 or 0.01
4th Dec 2020, 11:36 AM
Coal