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

Scroll inertia #31

Closed
zebapy opened this issue May 8, 2014 · 2 comments
Closed

Scroll inertia #31

zebapy opened this issue May 8, 2014 · 2 comments

Comments

@zebapy
Copy link

zebapy commented May 8, 2014

I honestly find the lack of scrolling momentum and inertia very unnatural to the user if you're visiting a majority of sites which have this, then get to one with Pushy. I've tried adding it to the -webkit-overflow-scrolling: touch; to the html, body declaration but it seems to cause the .pushy nav to stall then jump to position around when scrolling. I'm seeing this in Chrome and Safari on iOS7. Does anyone have a fix for this? By the way, this is regarding the site content, not the nav content.

@mgermani
Copy link

Hi @zebapy:

I was fussing with this same issue for several hours, in addition to getting a fixed-position menu button to appear on the top. Not only would the .pushy nav lag until the momentum had ceased, but my fixed-position menu lagged along with it. The fix, for me, was to remove the line:

height: 100%; /* fixes focus scrolling in Safari (OS X) */

from the html, body declaration. I then tested to see if Safari had was having any issues, and I couldn't find any. Hope this works for you as well!

Cheers,
Mark

@cspeer
Copy link

cspeer commented Jul 10, 2014

I had the same issue and @mgermani's solution fixed it for me
Thanks a lot! 👍

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