Open makersunion opened 10 years ago
Thank you very much. Incorporating this change made the JS work on Apple touch devices! it should definitely be added to the core code. Cheers,
Marcello
Thank you for this!
Just to note: the pure js version of this plugin does not suffer from this problem.
add 'event.preventDefault(); ' to touchmove(event) function touchmove(event) { var touches = event.originalEvent.touches; if (touches && touches.length) { var deltaX = startX - touches[0].pageX; var deltaY = startY - touches[0].pageY;
// $this.unbind('touchend', touchend); } } event.preventDefault(); } Now , touch device can sroll and button can click.