You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Why doesn't "position: sticky" work in Safari?

There's a CSS property called position: sticky that makes things stick to the top of the browser window (like a navbar) while scrolling. Using the Developer tools, it shows that "position: sticky" is invalid in Safari. This works fine in Chrome and Firefox, but for some reason not in Safari.


I have Safari 12.1.1 running on macOS Mojave 10.14.5.


I've also tried position: webkit-sticky but Safari also thinks that is an invalid CSS property.

iMac 27", macOS 10.14

Posted on Jun 21, 2019 11:43 AM

Reply

Similar questions

5 replies

Jun 21, 2019 12:19 PM in response to VikingOSX

Unfortunately it doesn't clear anything up. I'm using it correctly, but Safari says "sticky" and "webkit-sticky" are unsupported properties.



It's very strange that Safari doesn't support it. The "Can I Use" website states that Safari does support this property with the "webkit" prefix, but as shown above, Safari says both "sticky" and "webkit-sticky" are unsupported.


Why doesn't "position: sticky" work in Safari?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.