schme16 / Chart.js-RangeSlider

This adds the option of having a range slider to your Chart.JS Charts, to allow you to select a specific data scale
MIT License
33 stars 11 forks source link

.noUiSlider.on('change', function () { }) event not working on some devices #19

Open ErlashTheOne opened 4 years ago

ErlashTheOne commented 4 years ago

Hi, Im working with this library in one web project, but i have issues on some mobile devices like iPhone 11, iPhone 11 pro and iPhone X. Nevertheless, in iPhone 11 pro max and all desktop works perfectly.

I have a function that is: this.rangeSliderChart.sliderElement[0].noUiSlider.on('change', () => { / do something/ }

This function do something everytime that the slide handle is moved. I prove with another noUiSlider events but this is not working in more devices that have worked with 'change' event.

Do you know if this is a bug of this library or is it a conflict between devices?

Thanks in advance.