-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Milestone
Description
List items are clicked while scrolling because of the 'touchcancel' event. This is the issue reported multiple times on the forums. This event is essentially an error event most commonly fired in Android but is seemingly random and will basically hijack the touch event from touch move. This event was being treated as a click in tapPolyfill. I need to fork this to make pull requests some time, but the place I fixed it was line 50 - https://github.com/driftyco/ionic/blob/master/js/utils/tap.js
Changed it to if( isRecentTap(e) || e.type === 'touchcancel') {
This is exactly like the hammer.js issue here - hammerjs/hammer.js#339
And fixed here - hammerjs/hammer.js@1eaef6b
Metadata
Metadata
Assignees
Labels
No labels