GeekyAnts / GeekyAnts/NativeBase

Background color of _overlay for Menu not working on android

Open
#5,620 1 comment 0 reactions 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

The pseudo prop `_overlay` for the native-base menu is supposed to allow me to configure the background overlay when the menu is opened. I set a custom color for it but it's only working on iOS, the color is not applied on android. As a matter of fact, there is not even a default overlay color on android, it seems that this is broken?

### CodeSandbox/Snack link

https://snack.expo.dev/@marian.ludwig/menu-overlay

### Steps to reproduce

Checkout the snack I provided, the background overlay that should be behind the menu when opened works fine on iOS (device & simulator), but it has no effect on android devices/simulator.
Even specifically adding a backgroundColor for the overlay on android does not have any effect, the overlay will still stay transparent

###Expected Behavior###
Overlay color should be the same for iOS and android

###Actual Behavior###
Overlay color only applied on iOS, it is transparent on android

### NativeBase Version

3.4.25

### Platform

- [X] Android
- [ ] CRA
- [ ] Expo
- [ ] iOS
- [ ] Next

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.