Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

white background when opening a modal or an alert #4

Open
efstathiosntonas opened this issue Dec 22, 2020 · 3 comments
Open

white background when opening a modal or an alert #4

efstathiosntonas opened this issue Dec 22, 2020 · 3 comments

Comments

@efstathiosntonas
Copy link

While using dark theme, the color changes to white while opening Alert or Modal from react-native. When modal or alert shuts down, the color is back to normal.

see attached gif: (after closing bottom alert, i've opened a modal)

Dec-22-2020 13-18-32

@crutchcorn
Copy link
Member

I'll need a reproduction to verify and debug this. I strongly suspect that this isn't a bug in our library (because we're using modals without issue in our app), but I'll still take a look if you can make a minimal reproduction for us

@vishalkrishnads
Copy link

If a <Modal/> is called and the <View/> inside it has a different background color, say for instance, rgba(0,0,0,0.5), which is a very commonly used background color for modals, it doesn't draw over the status bar or nav bar. Is this intended or is it a bug too?

Is there a workaround for this?

@AlexCernik
Copy link

Same issue, I use actionsheet or modal component of Native base and navigation bar change to white.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants