Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No swipe? Chrome on iPhone #29

Open
pioneerwebsites opened this issue Jun 16, 2014 · 1 comment
Open

No swipe? Chrome on iPhone #29

pioneerwebsites opened this issue Jun 16, 2014 · 1 comment

Comments

@pioneerwebsites
Copy link

I'm loving responsiveCarousel and one of the reasons we looked here was because of swipe by default...

But testing from Chrome on iPhone on the demo page I can't swipe any carousels to advance them. Also tested Safari on iPhone - fail. Any word?

@honzakadlec
Copy link

hi @pioneerwebsites, it's quite long time, there is bug in touchend coordinates grabing - you need to replace line
defaults.swipeDistance = defaults.endCoords.pageX - defaults.startCoords.pageX;
with
defaults.swipeDistance = e.originalEvent.changedTouches[0].pageX - defaults.startCoords.pageX;

Hope it will help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants