angular-slider/angularjs-slider

onEnd is not working for me

Raagu1993 opened this issue · 1 comments

Hi,

I have implemented as it is in the example. but getting below error. Could you please help on this.

Error: [Intervention] Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.

Code:

options: {
id: 'slider-id',
onStart: function(id) {
console.log('on start ' + id); // logs 'on start slider-id'
},
onChange: function(id) {
console.log('on change ' + id); // logs 'on change slider-id'
},
onEnd: function(id) {
console.log('on end ' + id); // logs 'on end slider-id'
}
}

Could you please provide a JSFiddle showing the issue? You can fork this one as a start point: https://jsfiddle.net/wm3ce8jb/ .