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

iOS10 is jank #226

Open
scott-thrillist opened this issue Nov 2, 2016 · 2 comments
Open

iOS10 is jank #226

scott-thrillist opened this issue Nov 2, 2016 · 2 comments

Comments

@scott-thrillist
Copy link

Been having issues with Waypoints in the new iOS10 update so I started to use this plugin. It looks & works great on desktop and on the Chrome mobile emulator, but on an actual iPhone with iOS10 headers simply don't stick once you scroll passed. Not sure what the Apple dev team did but whatever it is seems to really limit fixed positioning on elements during a scroll event.

Anyone else seeing the same thing?

@nealmattox
Copy link

nealmattox commented Nov 5, 2016

Same issue happening for me. Even looking at the demo site here on GitHub on iOS the headers won't stick unless I pause scrolling. Then the fixed items will flash to their fixed positions, but then go away again if I scroll up or down the page. This bug basically renders the plugin unusable for any projects at the moment.

@Conal-Birtles
Copy link

Conal-Birtles commented Mar 14, 2017

I managed to resolve this issue by adding the following CSS :

.sticky-element { transform: translate3d(0,0,0); }

For what it's worth, I also tried :

.sticky-element.scroll-to-fixed-fixed { transform: translate3d(0,0,0); }

But it didn't like that one bit.

Obviously, you'll need to change the selector to whatever you're using.

https://stanko.github.io/ios-safari-scoll-position-fixed/

EDIT: Looks to work sometimes but not others. I'll post again if I can nail down the issue.

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