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

How to avoid content overlapping status bar/navigation bar? (in iOS) #470

Closed
meetwudi opened this issue Mar 30, 2015 · 1 comment
Closed
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@meetwudi
Copy link
Contributor

When we have a root view, it will overlap status bar. We have to manually set a marginTop to the view.

The same issue happens when working with NavigationIOS, the initialRoute view will still need a top margin to have its content visible.

Any options can deal with this issue?

@meetwudi
Copy link
Contributor Author

I figured this out.

I was using <Text> as root element, which will cause this issue.

Very simple solution will be wrap the <Text> with a container view, like ScrollView.

@facebook facebook locked as resolved and limited conversation to collaborators May 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants