Problem displaying map inside modal [Android 15+]

Author: MaioranoBCreated Mar 25, 2025Updated Sep 26, 2026
Labelsbugstale

Summary

When displaying a map inside a Modal component, the map becomes "invisible," showing in some areas (and some streets depending on the zoom) what is behind the modal.

Reproducible sample code

example code at https://github.com/MaioranoB/react-native-maps/blob/fix/modalProblemAndroid/example/src/examples/ModalMap.tsx

Steps to reproduce

Display a map inside a Modal on Android 15 or Android 16 Beta

Expected result

Display the map inside a modal the same way it is displayed outside

Actual result

Image

React Native Maps Version

1.20.1

What platforms are you seeing the problem on?

Android

React Native Version

0.76.1

What version of Expo are you using?

Not using Expo

Device(s)

Pixel 6 (Android 15), Pixel 6 (Android 16 Beta)

Additional information

No response

Source: react-native-maps/react-native-maps