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!

+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

12/3/2020 10:19:47 AM

RISHABH

+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

RISHABH So just reduce step it will become smooth between these two value also

+8

Just make βmaximumβ value greater) for example max=200π€

+8

Yes just what Mikhail said or u can decrease ur intervals :) using step https://code.sololearn.com/WJMoZHJgkerC/?ref=app

+7

Use minimum step value.

+5

Mitali I want without changing the step value so that I can get tbe perfect value from the user π

+5

Mitali I got the answer from Mikhail

+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