Open paulgreg opened 3 years ago
So, since this doesn't seem to support long presses, what now?
Pretty disappointing that even in v2, given the change in licensing & pricing, there isn't support for long presses. I'd expect higher quality when costing more money and becoming less OSS. Imagine if right-click events stopped firing in your favorite game engine, and they just let that bug stew for 6+ months...
mapbox-gl-js version: 1.10 and later
browser: Android Chrome 87
Steps to Trigger Behavior
Link to Demonstration
With mapbox in version 1.9, an alert will be shown if you « long touch » the map on a mobile device. However, since v1.10 (and until 2.0), the alert won’t be displayed on a long touch on a mobile device.
Expected Behavior
ContextMenu event is trigerred on a mobile device on a long press.
Actual Behavior
ContextMenu event is not trigerred on a mobile device on a long press (it works on version 1.9).