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

Panning not possible after pinch zoom without lifting finger #6900

Closed
Plantain opened this issue Jul 2, 2018 · 0 comments · Fixed by #8100
Closed

Panning not possible after pinch zoom without lifting finger #6900

Plantain opened this issue Jul 2, 2018 · 0 comments · Fixed by #8100

Comments

@Plantain
Copy link

Plantain commented Jul 2, 2018

mapbox-gl-js version:
v45
browser:
Chrome Android

Steps to Trigger Behavior

  1. Pinch zoom in and out, but leave fingers on screen
  2. Lift one finger, try and pan with the finger still on the screen
  3. Map does not move

Link to Demonstration

Will try and film this but believe the replication steps are easy to follow

Expected Behavior

Google Maps and most other touch slippy maps seem to detect one finger has been lifted and allow pans seamlessly after a pinch zoom.

Actual Behavior

Map remains fixed regardless of how the remaining finger is moved on the screen.

vakila pushed a commit that referenced this issue Sep 18, 2019
- Stop an active single-touch drag if the user adds additional fingers
  and touchZoomRotate takes over the interaction (fixes #7196) 
- Start a single-touch drag if the user removes all but one finger (fixes #6900)
- Add tests for expected single vs. multi-touch interactions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants