leafo / sticky-kit

A jQuery plugin for creating smart sticky elements
http://leafo.net/sticky-kit
2.91k stars 521 forks source link

Sticky menu list is disapearing when scrolling fast on iOS Safari #214

Open adam-jones-net opened 7 years ago

adam-jones-net commented 7 years ago

I'm using iOS 9.3.5 and whilst the stickiness works, when I scroll fast my list based menu tags just disappear completely. I have the feeling they are off the screen and that the sticky kit isn't updating quick enough.

I've read for similar issues there may be a trick to change the element that needs to be sticky on the initiation of the scroll and to then change it back after scrolling finishes. Ie set its position to fixed.

Any suggestions ?

NoLooseEnds commented 7 years ago

Don't have solution (at least not yet), but I experience the same issue in the iOS emulator (I have not tested properly on devices yet).

Did you find any solution?

adam-jones-net commented 7 years ago

Yes/no; I stopped using sticky kit ;) I'm using something called Zebra_Pin which is very light weight. May not be suitable for everyone as a more limited feature set but works fine for me just needing to stick a left side navigation menu.

NoLooseEnds commented 7 years ago

Thanks. I'm hoping to keep to sticky-kit, but I'll see how it goes.

theonlyriddle commented 7 years ago

Check out my comment on https://github.com/leafo/sticky-kit/issues/213#issuecomment-284674880 and see if it solves the problem of this thread. The 2 issues sound very similar.

nternetinspired commented 7 years ago

This is not a sticky-kit issue per se, more a feature of iOS 9+ when it encounters fixed elements. Check out my solution on SO: http://stackoverflow.com/a/43188105/3375005