mapbox / mapbox-gl-native-ios

Interactive, thoroughly customizable maps for iOS powered by vector tiles and OpenGL
https://www.mapbox.com/mobile/
Other
210 stars 122 forks source link

iPad OS 13.4 Magic Keyboard trackpad panning behavior #428

Open mmbbpls opened 4 years ago

mmbbpls commented 4 years ago

Steps to reproduce

  1. Create and show a mapView
  2. Using the trackpad on a Magic Keyboard (or Send Cursor to Device on a simulator) to use two fingers to pan on the map
  3. The map does not pan
  4. Use the trackpad on a Magic Keyboard to "click" with two fingers and then pan with two fingers in the same gesture
  5. The map pans

Expected behavior

Step 2 (panning with two fingers without having to click down first) should pan the map, which is the default behavior of MapKit and Apple Maps

Actual behavior

Panning with two fingers requires clicking down first.

Configuration

Mapbox SDK versions: 6.1 iOS/macOS versions: 13.4 Device/simulator models: iPad Pro (9.7-inch) Xcode version: 11.4

adamkaump commented 4 years ago

Agreed. This would be a really nice behavior to have.