do-web/jTinder

prevent drag/swipe up/down

Opened this issue · 3 comments

Hi,

very great plugin - really. Love it. There is just one piece of problem I'm facing on the smartphone. I can't scroll down. Is there any way you could provide an option to prevent swipe down/up to prevent scroll interuption? Thank you!

I disliked the fact you could drag up/down, so I looked at the jTinder.js ;
if you comment out the following lines, you can only drag items on the X plane;
90
96
102
104
107
129
131
134

this worked for me, however I dont know for sure that it will enable page scrolling.

I also face the same issue for scrolling interruption.
I tried your solution but it didn't work for me.
it prevents li element to drag up down but not allow to scroll either.
please comment if anyone is having some other solution than this ASAP.

I figured it out. You need to delete:

body { overflow: hidden; }

to enable scrolling