leafo/sticky-kit — pull request #26 by mottalrd (2014-01-14 16:34:36+00:00)
Title: Better sticky on tablet

Hello,

On tablet the scroll event is not fired continuously like it is on desktop. It is fired *only* when the scroll actually ends.

The resulting behaviour is that the element does not reposition immediately, but just at the end of the scroll.
For more details see:
[1] http://tjvantoll.com/2012/08/19/onscroll-event-issues-on-mobile-browsers/
[2] http://developer.apple.com/safari/library/documentation/appleapplications/reference/SafariWebContent/HandlingEvents/HandlingEvents.html

In order to mitigate this issue we can use the *touchmove* event that is triggered continuously during the scroll (as suggested in [2]).
The problem still remains unsolved for the *momentum* move. In this scenario the sticky element will not update until the scroll momentum ends.

Any idea on how to solve this issue?
Cheers