Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status bar covered, how to disable #50

Closed
brascene opened this issue Apr 18, 2017 · 3 comments
Closed

Status bar covered, how to disable #50

brascene opened this issue Apr 18, 2017 · 3 comments

Comments

@brascene
Copy link

Hi, after clicking on dropdown, status bar is changed, like backdrop is there and it's covering whole screen on Android, including status bar. I dont' want status bar to be affected at all while clicking on dropdown, how can this be achieved?
Thanks in advance!

@sohobloo
Copy link
Owner

@brascene This is a behavior of Modal component of react native and I don't know how to solve your problem. Sorry!
By the way, Modal indeed has some style issues in Android like this one, in which says:

Modal is implemented with Dialog, Dialog will create a window on the top of Activity's Window.

@farzadab
Copy link
Contributor

@sohobloo I have an idea, you can use react-native-simple-modal, since it doesn't cover the Status Bar.
Unfortunately, It's not a drop-in replacement for RN Modal component, but it shouldn't be hard to make it work. I can try to do it, but I might not be able to get the details right.

@sohobloo
Copy link
Owner

@farzadab Thanks for the suggestion. Worth trying.

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

No branches or pull requests

3 participants