Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop listening on onTouchCancel. #3

Merged
merged 1 commit into from
Feb 6, 2015
Merged

Conversation

killfill
Copy link

@killfill killfill commented Jan 1, 2015

Hi!

Im using this event for a little app, and noticed that on the default android browser (at least the ones of <= 4.4.4) generates falses onTouchCancel events when scrolling.

When you touchStart and move the finger, onTouchCancel is getting triggered (with the finger still pressed).
This plugin treat it as a isEndish() so its emitting the onTouchTap event, making the app not very useful.

Probably not everyone loves the default chrome browser, but its the default, and is what been used when you phongap/cordova-ize you app.

Thanks!!

Android default browsers (not chrome) triggers this when scrolling which results in positive-false onTouchTap events.
@s0meone
Copy link

s0meone commented Jan 13, 2015

Thank you for your pull request, I don't always have an Android devise laying around. So I can't test this at this moment. I'm keeping this open until I confirmed the issue and your fix.

s0meone added a commit that referenced this pull request Feb 6, 2015
Stop listening on onTouchCancel.
@s0meone s0meone merged commit f63f69a into zilverline:master Feb 6, 2015
@s0meone
Copy link

s0meone commented Feb 6, 2015

This will probably fix #8 as well.

@darkyen
Copy link

darkyen commented Feb 20, 2015

can we now publish an updated version on npm ?

@s0meone
Copy link

s0meone commented Feb 25, 2015

Sorry, I did make a release but forgot to push the package.json with the new version number. The current release on npm (0.1.4) contains this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants