Closed dliff closed 5 years ago
Placing the buttons after the MapView in JSX solved this. Not sure why the issue only occurs with latest updates and only on Android, but hope this helps someone.
Before:
<TouchableOpacity
style={styles.menuButton}
onPress={this.pressedMenu}
/>
<Mapbox.MapView />
After:
<Mapbox.MapView />
<TouchableOpacity
style={styles.menuButton}
onPress={this.pressedMenu}
/>
After upgrading:
TouchableOpacity over MapView is invisible on Android until you set
elevation
greater thanelevation
from MapView. Once you do that, the TouchableOpacity is visible but untouchable on Android. Seems to work fine on iOS.