Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Tap event cancels scroll event #726

Closed
andrewhavens opened this Issue · 1 comment

2 participants

@andrewhavens

I'm working on a mobile web app that has a scrollable div (overflow: scroll). I want to track the scroll event, but also want to track the tap event on elements inside the div. When using a click event (instead of a tap event) everything works fine. When I set a tap event listener, my scroll event does not fire. I'm assuming this is a bug that it is hijacking the scroll event, so I'm reporting it. Thanks for all your hard work bringing us this great jQuery alternative!

@madrobby
Owner

I suggest to use touchend events instead of the tap event (I use this workaround in my own code). Unfortunately tap does interfere with scrollable divs and I don't have a fix planned for this (too complex). I welcome any patches for it tho, maybe there's an elegant solution we overlooked.

@madrobby madrobby closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.