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

Mobile Scrolling with ResponsiveFallback enabled not working #7

Open
KevinSleegers opened this issue Oct 5, 2014 · 2 comments
Open

Comments

@KevinSleegers
Copy link

Hi,

When I use this script on a desktop and resize the window it is all working fine.
I have a ResponsiveFallback set to 640px, so when I reach below that value it just enables the normal scrolling event.

However, on my mobile browser (latest Chrome version, Android 4.4.2, Nexus 5) the scrolling isn't working at all. In my console, I can see that the viewing-page class on the body is changing when I scroll, but the content I see stays the same.

Live version on: http://www.juichjezelfhetstadionin.nl

I hope you can help me solve this problem :(

Thanks,
Kevin

@MrOpperman
Copy link

Have you managed to find a solution? I'm having the same issue on Firefox mobile :(

@johnpuddephatt
Copy link

Solution seems to be to make the touchstart and touchmove functions check whether the body has the disabled-onepage-scroll class before doing anything.

Updated code here.

I haven't tested this anywhere other than the Xcode iOS simulator, I'll submit a PR after further testing...

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

3 participants