Error when swipe in movile devices
leonelgoncalves opened this issue · 4 comments
leonelgoncalves commented
Hey, i just found a little bug when swiping in mobile devices. The problem is caused because you use event.touches instead of event.changedTouches, and in mobile devices that causes an error at the touchend or touchcancel events. If you changed that it works great.
Great plugin by the way.
Thanks dude =).
snake-345 commented
On what device you find this bug?
leonelgoncalves commented
On almost every device in fact if you use chrome developer tools and put the browser in Mobile mode you can see it
snake-345 commented
Oh, i'm broke it with past release) Will need write some auto tests in future)
Fixed.
https://github.com/snake-345/jcarouselSwipe/releases/tag/0.3.2
leonelgoncalves commented
Awesome dude thanks!.
And again great plugin =).