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

prevent drag/swipe up/down #11

Open
hirbod opened this issue Jul 13, 2015 · 3 comments
Open

prevent drag/swipe up/down #11

hirbod opened this issue Jul 13, 2015 · 3 comments

Comments

@hirbod
Copy link

hirbod commented Jul 13, 2015

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!

@stennett10
Copy link

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.

@anpnarola
Copy link

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.

@exb1994
Copy link

exb1994 commented Nov 10, 2016

I figured it out. You need to delete:

body { overflow: hidden; }

to enable scrolling

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

4 participants