Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

When pinch zooming quickly, map scrolls also #7666

Closed
cammace opened this issue Jan 10, 2017 · 2 comments
Closed

When pinch zooming quickly, map scrolls also #7666

cammace opened this issue Jan 10, 2017 · 2 comments
Assignees
Labels
Android Mapbox Maps SDK for Android bug

Comments

@cammace
Copy link
Contributor

cammace commented Jan 10, 2017

In the GIF below, you will notice when pinch zooming in or out quickly, the map will scroll in various directions. This appears to be a regression from either #7383 or #7299. This is reproducible on both 4.2.1 and master branch.

ezgif com-video-to-gif

cc: @mapbox/android

@cammace cammace added Android Mapbox Maps SDK for Android bug labels Jan 10, 2017
@cammace cammace added this to the android-v5.0.0 milestone Jan 10, 2017
@tobrun
Copy link
Member

tobrun commented Jan 11, 2017

Why do you think this is a regression?
I'm able to reproduce this with both of those commits reverted.

ezgif com-video-to-gif 6

I think the underlying issue is that a fling gesture is triggered as result of a finishing pinch gesture. This looks very similar to what I noticed with the pan gesture in #7536 (comment). I think ignoring fling gestures with a lower velocity will solve this.

@tobrun
Copy link
Member

tobrun commented Jan 11, 2017

#7675 solves the issue that you can trigger an OnFling gesture after a pinch zoom gesture

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android bug
Projects
None yet
Development

No branches or pull requests

2 participants