-
-
Notifications
You must be signed in to change notification settings - Fork 850
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]: PointAnnotation propagation/bubling undeneath elements on select #3110
Comments
Video example, you will see console is being printed twice for both elements when i select in middle, thats the issue Screen.Recording.2023-10-15.at.22.20.56.mov |
This is a small thing but you may want to clarify that when you say "but when i zoom out they become clustered but thats ok" you're not referring to actually clustering the markers, but instead you're just saying that the markers end up overlapping one another. We have experienced this issue, as well - iOS only. Our workaround was to put a sleep on the onPress. Because you press once and then it kind of cycles through all markers before settling on one. It was bad! Thanks for reporting. |
The same issue here. |
Same issue. |
Mapbox Implementation
Mapbox
Mapbox Version
10.12.0
Platform
iOS
@rnmapbox/maps
version10.0.15
Standalone component to reproduce
Observed behavior and steps to reproduce
I have many
PointAnnotation
placed in similar area, but when i zoom out they become clustered but thats ok. But as soon as i click on on the top item i see it selects all bellow items also.Example is that when i click i get
console.log('onSelected');
not once but as many items i have underneath the initialPointAnnotation
Expected behavior
When i click on top level of PointAnnotation it should only select top PointAnnotation item and ignore any underneath
Notes / preliminary analysis
No response
Additional links and references
No response
The text was updated successfully, but these errors were encountered: