Skip to content

[Bug]: Android: can't pan / pinch-zoom the map when the gesture starts on a MarkerView (new arch) #4255

Description

@olivermihaly

Mapbox Version

11.23.0

React Native Version

0.85.3

Platform

Android

@rnmapbox/maps version

10.3.2

Standalone component to reproduce

import React from 'react';
import { View, Text, Pressable, StyleSheet } from 'react-native';
import { MapView, Camera, MarkerView } from '@rnmapbox/maps';
const CENTER: [number, number] = [-122.4194, 37.7749];
export default function BugReport(): React.JSX.Element {
  return (
    <View style={styles.container}>
      <MapView style={styles.map}>
        <Camera defaultSettings={{ centerCoordinate: CENTER, zoomLevel: 13 }} />
        <MarkerView coordinate={CENTER} anchor={{ x: 0.5, y: 0.5 }} allowOverlap>
          <Pressable style={styles.marker} onPress={() => console.log('marker tapped')}>
            <Text style={styles.markerText}>TAP</Text>
          </Pressable>
        </MarkerView>
      </MapView>
    </View>
  );
}
const styles = StyleSheet.create({
  container: { flex: 1 },
  map: { flex: 1 },
  marker: {
    width: 64, height: 64, borderRadius: 32,
    backgroundColor: '#ff2d87', borderWidth: 3, borderColor: '#fff',
    alignItems: 'center', justifyContent: 'center',
  },
  markerText: { color: '#fff', fontWeight: '800' },
});

Observed behavior and steps to reproduce

Environment

  • @rnmapbox/maps: 10.3.2
  • Mapbox Maps SDK (Android): 11.23.0
  • react-native: 0.85.3 · react: 19.2.3 · expo: 56.0.16
  • New architecture (Fabric): enabled
  • Platform: Android (emulator, API 36)

Observed: When a touch starts on the MarkerView, the map cannot pan or
pinch-zoom — the gesture is captured by the marker and never reaches the MapView.
The same gesture started off the marker works normally, so the marker acts as a
"dead zone" that blocks map movement.

Steps:

  1. Render the component above.
  2. Put a finger down on the pink marker and drag → the map does not move.
  3. Pinch-zoom starting with a finger on the marker → the map does not zoom.
  4. Do the same gestures starting on empty map → pan/zoom work normally.

Expected behavior

Panning / pinch-zooming that starts on a MarkerView should still move the map
(as it did pre-10.3), while the marker's children remain tappable.

Notes / preliminary analysis

No response

Additional links and references

2026-07-15.17-45-08.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🪲Something isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions