Closed kevinherdez closed 2 months ago
/preview
iOS | Android |
---|---|
exp://u.expo.dev/update/2ce36b7a-6c27-4a5b-9a77-78ab55b6b802 |
exp://u.expo.dev/update/82df71b2-7717-4402-a638-802506965a97 |
expo_preview: succeeded ✅ https://github.com/NWACus/avy/actions/runs/11056714589
@kevinherdez looks good to me! I'm gonna merge this - sound good to you?
Thank you! Looks great.
This fixes the issue in #747 where the pin moved every time a user panned or zoomed in on the map. This was because no matter what the user did while interacting with the map, it would file an
onPress
that would then update the pin location.This fix replaces
<Pressable>
and theonPress
with a<View>
andPanResponder
. ThePanResponder
keeps tracks of movements the user does on theView
which are then used to determine if the user tapped the view or did a different gesture.