Skip to content

Conversation

axefrog
Copy link
Contributor

@axefrog axefrog commented Mar 1, 2014

Chrome 33 on Android seems to very commonly detect a 1 pixel drag movement during a standard touch tap, when no drag was intended, making it extremely difficult to tap on markers. This fix prevents a drag from beginning until the X and Y drag offset is at least 3 pixels in total.

Chrome 33 on Android seems to very commonly detect a 1 pixel drag movement during a standard touch tap. This fix prevents a drag from beginning until the X and Y drag offset is at least 3 pixels in total.
@axefrog
Copy link
Contributor Author

axefrog commented Mar 1, 2014

This fix affects issue #2502

@mourner
Copy link
Member

mourner commented Mar 1, 2014

Please fix the build.

@mourner
Copy link
Member

mourner commented Mar 1, 2014

You can also submit a similar pull for the stable branch.

@axefrog
Copy link
Contributor Author

axefrog commented Mar 1, 2014

Fixed. Not sure how to specify the branch, I thought I was on the stable branch.

mourner added a commit that referenced this pull request Mar 1, 2014
Fix for touch-sensitive browsers detecting drag on tap
@mourner mourner merged commit 86b9b4e into Leaflet:master Mar 1, 2014
@mourner
Copy link
Member

mourner commented Mar 1, 2014

Thanks! You specify the target branch when you create the pull.

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.

2 participants