- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
details.isGesture undefined in onRegionChange() callback when map is dragged (iOS) #5488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@salah-ghanim This is still supported with the new architecture correct? I'm seeing the same behavior with the latest version and am using Expo 53. |
@trooperandz Have you been able to solve this? I've been able to use an AI agent to get a patch working for Android, but I'm still not having any luck on iOS. |
@iM-GeeKy I have not been able to solve this yet. For context, the |
@trooperandz Okay thanks for the update, I'm seeing the same behavior too on iOS with provider |
One update on this; I see that Android |
Yeah, I'm noticing the |
+1 (version 1.28.3) Same, android looks ok, but iOS is not working, still undefined. Any workaround? |
Also seeing this on expo 53. And When I log
|
Uh oh!
There was an error while loading. Please reload this page.
Summary
The
<MapView />
onRegionChange()
callbackdetails
argument has undefinedisGesture
value when dragging the map.This is contained in the second argument of the
onRegionChange
callback, i.e. :Reproducible sample code
Steps to reproduce
Drag the map from the following example above. Check the logs and notice that
details.isGesture
is alwaysundefined
.Expected result
When dragging the map, the
details.isGesture
value should betrue
. When the map is returned to a set of coordinates (i.e. when usingfitToCoordinates
, thedetails.isGesture
value should befalse
.Actual result
When dragging the map, and when using
fitToCoordinates
,details.isGesture
is alwaysundefined
.React Native Maps Version
1.23.5
What platforms are you seeing the problem on?
iOS (Google Maps)
React Native Version
0.79.2
What version of Expo are you using?
Not using Expo
Device(s)
iPhone 12 mini
Additional information
No response
The text was updated successfully, but these errors were encountered: