-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Navigator overlapping inner content #4264
Comments
you can add sceneStyle={{paddingTop: 64}} to your navigator props |
@FaridSafi better use this "Navigator.NavigationBar.Styles.General.NavBarHeight" I think |
Hi there! Not a bug, please post these types of issues to StackOverflow :) |
Has this issue been addressed on StackOverflow? I'm having the same issue and couldn't find anything related there. Just wanted to check before opening a new ticket. Thanks! |
@lrettig I just added a paddingTop as mentioned above. |
Thanks. I was confused by #470 as this:
didn't work for me. Adding |
Just an addition to @sospartan 's comment. I think the correct height can be found in |
Another tip: Scroll bars look better if you use |
Well, Navigator is deprecated and removed from default package. What is recommended solution now? |
I think paddingTop is the only solution if you don't want to embed it in a ScrollView or use 3rd library to get exactly the StatusBar height. |
I'm using the native
Navigator
component but when using a NavigatorBar, it is overlapping my inner content like so:This is the content that should be visible but only shows when dragged/scrolled down.
Here is my nav component:
And the inner component:
The text was updated successfully, but these errors were encountered: