Skip to content

When plugin enable there is a significant delay when initiating zoom with 2 finger pinch on mobile devices #962

Description

@dontwork

mapbox-gl-js version: latest
mapbox-gl-draw version: latest

Steps to Trigger Behavior

  1. open a mobile browser and go here: https://docs.mapbox.com/mapbox-gl-js/example/mapbox-gl-draw/
  2. zoom using 2 fingers pinching outwards
  3. notice a delay on the initial action of zooming

if you hold your 2 fingers there for a short period it works when you move them but if you touch the screen with 2 fingers and immediately attempt to zoom using this method there is a delay. This delay does not seem to exist on desktop computers when doing the same gesture on a trackpad

Expected Behavior

Smooth delay-free zoom

Actual Behavior

Zoom delayed at initial 2 finger touch with immediate zoom

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions