IonDen / ion.rangeSlider

jQuery only range slider
http://ionden.com/a/plugins/ion.rangeSlider/en.html
MIT License
2.56k stars 508 forks source link

Slider resets to 0 while sliding on big array #717

Closed Carbowix closed 4 years ago

Carbowix commented 4 years ago

Currently for some reason when i update the slider via jquery with an array that is big as 1000, the slider starts reseting to 0 every time I move to some random point in the input range. That's the code used to add the big array. Note that the array is full of objects Ex: [{prop1: "123", prop2: "321"}, {prop1: "1234", prop2: "4321"}, {prop1: "12345", prop2: "54321"}, ...]

$('.data-slider').data('ionRangeSlider').update({
   from: 0,
   values: arr,
   block: (arr.length == 0)
});

Different array sizes that resets it to 0 while sliding: (1210, 369)