160
rated 0 times
[
163]
[
3]
/ answers: 1 / hits: 24177
/ 13 Years ago, sat, november 12, 2011, 12:00:00
On iOS safari, one-finger panning doesn’t generate any events until the user stops panning. An onscroll event is only generated when the page stops moving and redrawn.
I need a way to detect real time scrolling. Specifically, I want to make a sticky menu that will also work on iOS safari. On non-mobile browsers, sticky menu can be done by switching between position relative to position fixed on the element while listening to the onscroll events. This method won't work on mobile browser because onscroll events are not continuously fired. What can I do?
More From » ios