You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One solution is to always return true if there is a longPress javascript handler, another one is to interrupt the gesture handler once the javascript code was run.
Having the same issue. Works when using onPress but onLongPress does not allow me to setCamera. I tried returning true from all my handlers but did not resolve.
Mapbox Implementation
Mapbox
Mapbox Version
default
Platform
iOS, Android
@rnmapbox/maps
version10.0.0-rc.1
Standalone component to reproduce
Observed behavior and steps to reproduce
flyTo
having been calledRPReplay_Final1679650585.MP4
Expected behavior
Map should pan to the place where user's finger was held.
Notes / preliminary analysis
flyTo
is called insideonPress
callback.Camera
methods, includingflyTo
,panTo
,setCamera
.longPress
event firing before user takes their finger off the screen.Additional links and references
No response
The text was updated successfully, but these errors were encountered: