-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Releasing one finger in pinch to zoom makes map to jump #9136
Comments
Thanks for your attention. This surprising bug has been plaguing our site for some time now making the map unusable with touch. I do not imagine many people actually consistently release both fingers at the same exact time when pinch zooming. This bug is causing many or most people using touch to experience head-spinning unexpected high speed trips to a new destination and loss of their intended map position. |
Hi @Nikodermus @mapcarta - thanks for using Mapbox & for reporting this! We are aware of this bug and are working on fixing it as part of a larger overhaul of gesture handling, including touch gestures. Stay tuned! Related/possible duplicate: #8889 |
I would like to please check up on the progress of the fix of this very critical bug. I'm surprised that this isn't being urgently worked on, as this is a severe product breaking error. The majority of devices use touch. Every one of these now experience a disaster when pinching except when both fingers are released at exactly the same time. I agree that this is a duplicate of #8889, however the issue is better identified here. |
@vakila Hey, is there anywhere I can check the progress of this gesture handling overhaul? |
This has been fixed by #9365. If you have a chance to test and confirm, that would be great! The fix is in |
mapbox-gl-js version: 1.5.2
browser: All
Steps to Trigger Behavior
Link to Demonstration
Here is a demo with visuals of the pointers added and how the change from the second to be the first (and only active) makes the map to move aggressively as it the user would have dragged it around
Expected Behavior
Releasing one finger should not have a effect on the map
Actual Behavior
It takes the finger release as a drag action
Workaround
This hack reduces the amount the times the issue is triggered
The text was updated successfully, but these errors were encountered: