leafo / sticky-kit

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

bottoming=true cause trouble on mobile chrome (and maybe other mobile browsers) #103

Open drakanor opened 9 years ago

drakanor commented 9 years ago

The default bottoming=true cause the sticky element to jump to the bottom of the parent after scrolling about 80% of the page, tho the bottom of the parent is still not reached. Setting bottoming to false solves this issue (in my case I didn't need it anyway).

Tested with Chrome 42.0.2311.108 on Android 5.1 on a Nexus 4. Also happens with Chrome 42.0.2311.90 on Windows through device emulation (Nexus 4).

Amantel commented 9 years ago

This is a global problem for each and every sticky solution I have found - problem appears at most mobile browsers course of broken scroll events. It will be great to see some workaround.

archampion commented 9 years ago

Will this be fix asap? Would love this get fix because I need bottoming. Right now using other similar plugin but when browsers resize, goes haywire. This doesn't though.