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

When pinch zooming quickly, map scrolls also #7666

Closed

Description

@cammace

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

Activity

  1. added
    Android
    on Jan 10, 2017
  2. added this to the android-v5.0.0 milestone on Jan 10, 2017
  3. tobrun commented on Jan 11, 2017

    @tobrun
    Member

    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.

  4. self-assigned this
    on Jan 11, 2017
  5. tobrun commented on Jan 11, 2017

    @tobrun
    Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Androidbug

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions