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

Unstable behavior in Firefox Quantum #252

Open
cibulka opened this issue Nov 25, 2017 · 6 comments
Open

Unstable behavior in Firefox Quantum #252

cibulka opened this issue Nov 25, 2017 · 6 comments

Comments

@cibulka
Copy link

cibulka commented Nov 25, 2017

Sticky Kit doesn't seem to handle new Firefox Qantum well, at least not in my projects. Check choir.cz for example.

Sticking happens after a noticable delay and whole experience is pretty choppy. I've tested this in OSX and Windows.

I suppose that is because of browser's new "Async Pan/Zoom" feature: https://hacks.mozilla.org/2017/11/async-panzoom-apz-lands-in-firefox-quantum/.

Have you found some way around this?

@carasmo
Copy link

carasmo commented Nov 29, 2017

Yep, happening with me. Don't even know where to begin to correct this.

@cibulka
Copy link
Author

cibulka commented Dec 3, 2017

As this package seems to be abandonned (last commit in March, no replies in the issue forum), I've decided to move to the native position: sticky for most of my use-cases. Cheers to @leafo though, it was a good run!

It's not the easiest transition. position:sticky does not do everything I need it to do and also has some serious quirks (such as not being able to use overflow: hidden on its parents).

I've created 2 questions on StackOverflow, maybe they will help somebody:

@Werbschaft
Copy link

Werbschaft commented Jan 10, 2018

It's very easy to fix ... add this to the CSS (keep Vendor Prefixes in mind). "Will change" is optional and not required as I have seen in tests

transform: translate(0, 0);
transform: translate3d(0, 0, 0);
will-change: position, transform;

@carasmo
Copy link

carasmo commented Jan 28, 2018

@WS-Theme -- that is already in my CSS for the parents and children to prevent issues with delay in IOS (it forces hardware acceleration). It hasn't helped with FireFox.

@carasmo
Copy link

carasmo commented Jan 28, 2018

I'm using hcSticky, works great! I wrote up a work around, since the FireFox thing is still an issue if the sticky element is stuck to the top:

somewebmedia/hc-sticky#42

Download the zip there, plenty of examples and how to implement.

@carasmo
Copy link

carasmo commented Jan 28, 2018

Yes, I confirmed that with hcSticky that there is no jumpiness when the element you're sticking is not smacked up to the top of the viewport.

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