javascript - How to detect/disable inertial scrolling in Mac Safari? -


is there way disable or detect wheel events "inertia" setting on mac?

i'd able tell difference between real events , others...or disable kind of scrolling particular page.

yes , no.

you can use touchdown/up, , scroll events page moving won't trigger if os doing inertial scroll. fun, right?

one thing can continually detect, however, window.pageyoffset. value keep changing while inertial scroll happening won't throw event. can come set of timers keep checking inertial scroll , keep running until page has stopped moving.

tricky stuff, should work.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -