lafikl / steady.js

A module to do some logic on the `onscroll` event without performance regressions in a @media-query like conditions.

Home Page:http://lafikl.github.io/steady.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

onscroll events don't fire during scroll for iOS

joshduck opened this issue · comments

See this Stack Overflow post. Scroll events are not fired until the page has stopped moving.

You could use touchmove, but there are drawbacks to adding a listener on touch events to top level nodes:

I believe that the iOS behavior is well known now, and is expected that's why i didn't spend time trying to unify it.

But i'll get to it as soon as i get time, thanks Josh!

@lafikl If you are interested, I have small iOS scrolling module (based heavily on ariya/kinetic) for a list library that I've been writing: litelist/src/scroll.js.

+1, I'm struggling to find a good scroll library that works well on mobile with touchmove.