[Bug]: MarkerView and iOS (Gestures won't work on iOS with 20 MarkerViews)
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 2.9k
- Forks
- 947
- Avg merge
- 6d 37m
- Merged PRs (30d)
- 1
Description
Mapbox Implementation
Mapbox
Mapbox Version
11.4.1 and up to 11.9.0
React Native Version
0.76.5
Platform
iOS
@rnmapbox/maps version
10.1.33
Standalone component to reproduce
Observed behavior and steps to reproduce
I am running into this issue where I have a bunch of MarkerViews (roughly 20-30). As soon as I render these, I'm unable to pan or zoom the map anymore. It would work at some points, but mostly won't work on the map
I don't know if it is related to hit boxes or anything else, but if I zoom out to a different location where I don't have markers anymore, then it works.
Is there any way I can debug and publish more report on whats going on?
And it works perfectly fine on Android, but not on iOS
I can try to recreate this for the demo, but I fear it might not be reproducible.
react-native": "^0.76.5",
"expo": "~52.0.20",
"@rnmapbox/maps": "^10.1.33",
app.config
RNMapboxMapsVersion: "11.9.0"
Expected behavior
Panning and Zooming Gestures should work
Notes / preliminary analysis
- Works fine on Android but not on iOS
- If I render null inside MarkerView then it works fine
- Doesn't matter what is inside MarkerView (Text/View etc and not does its width/height)
Additional links and references
console.log(1);
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. First reproduce the issue on iOS with roughly 20–30 MarkerViews using the listed React Native, Expo, @rnmapbox/maps, and Mapbox versions, then compare gesture behavior with MarkerView rendering disabled. Done means panning and zooming work reliably while the markers are present, with a reproducible case or narrowed cause documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, react-native
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100