-
-
Notifications
You must be signed in to change notification settings - Fork 860
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
[Bug]: On Android, onLongPress function is working only once(initial render) #3715
Comments
+1 |
I am facing the same issue. |
Mee too |
I am running into this issue as well. Is there a workaround available ? |
I am facing same issue |
Also have this issue. Any solutions? |
(Except @rnmapbox/maps as long press still an issue rnmapbox/maps#3715)
same issue for me. Any solutions?? |
Also have this issue. Downgrade to version 10.1.31 to fix this issue |
+1 |
I have this issue as well and downgrading to 10.1.31 did not solve the issue |
did you remove the ^? |
Same issue on 10.1.33. An older version (I don’t remember exactly which one) works well. |
Seems like the issue was introduced when the android SDK version was bumped prior to 10.1.32 being released. Reverting the default sdk version via a fork/patch is a workaround while still using the latest release of rnmapbox android/build.gradle:
|
Mapbox Implementation
Mapbox
Mapbox Version
10.1.32
React Native Version
0.74.5
Platform
Android
@rnmapbox/maps
version10.0.0-beta.32
Standalone component to reproduce
Observed behavior and steps to reproduce
onLongPress is triggered only once (during the initial render) on Android, but works as expected on iOS.
Expected behavior
onLongPress should be triggered whenever the user performs a long press on the map.
Notes / preliminary analysis
No response
Additional links and references
No response
The text was updated successfully, but these errors were encountered: