Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
ingriT997yIt was for a PhoneGap app, so it uses the Safari webview somehow in the background. And I tried the 'position:sticky' as well, didn't do a thing.
Did remove it after trying though! Don't need any weird and unpredictable results on other devices (or after updates apparently). -
Wack61917yPosition sticky is cool, but on safari it needs a prefix...
Try this:
.sticky {
position: -webkit-sticky;
position: sticky;
}
Source: https://caniuse.com/#search=Sticky -
NuflowX6287yawesome that position sticky has been adopted by browser, so so cool!!
(last time I checked ages ago it was only FF) -
ingriT997yPrefix the value, not the property?
-webkit-position: sticky; would have made much more sense to me.
No wonder I couldn't get it to work. Then again, did learn something today, Thanks!
Related Rants
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
DRSDavidSoft28Found this in our codebase, apparently one of my co-workers had written this
-
linuxxx23*client calls* "hello, we forgot the password to our WiFi router. Could you reset that for us?" 😐😶😮...
Spent 6 days, trying to get a navbar to stick in my iOS webapp while scrolling, no way to get it done.
This morning I installed iOS update 11.3, problem solved without changing a single line of CSS...
FUCK YOU APPLE
rant
wtf
fuck you apple