Question

I'm using this: http://pastebin.com/PQYqfeND to bind swipeLeft & swipeRight. I need it to be on a post body, but the problem is that when I bind it, it removes touching completely - meaning I can't drag down/up.

What can I do to allow for touchmove up/down but still bind swipeleft/right?

Thanks!

Was it helpful?

Solution

Here I go, answering my own Q again. I've done days of research, but didn't know what to look for I guess.

The answer is to not use the code above and adapt this: http://pastebin.com/daGupDeL

Usage is pretty easy, I'm able to bind multiple swipes (up to 2, I suppose) on large content, and then a slideshow, w/o them interfering + able to use touchmove/drag on the swipeable content.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top