Open babujoym opened 8 years ago
The slider doesn't work when the from and to values in the slider options are the same.
it is happening because the value for the pointer is becoming NaN on dividing the interval which is 0, when the from and to values are same
Indeed, there must be a bug in this case, I will take a look.
In the meatime can you fork this fiddle and redo your scenario
http://jsfiddle.net/darul75/g9e9n8xc/
are you changing from and to dynamically ?
The slider doesn't work when the from and to values in the slider options are the same.
it is happening because the value for the pointer is becoming NaN on dividing the interval which is 0, when the from and to values are same