-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
[NavigatorIOS] Titlebar has margin in iOS 11 (not in iOS 9.3) #15681
Comments
This issue is caused by safeArea concept introduced by iOS 11 and set the property contentInsetAdjustmentBehavior of UIScrollView will fix it. Just like: |
Awesome, so this should be a relative simple fix in the source? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
I've decided to stop using NavigatorIOS. It often contains bugs and of course isn't a solution that we can use for Android. I'm now using React Navigation, that works great! |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: react-native-cli: 2.0.1, react-native: 0.47.2node -v
: v8.4.0npm -v
: 5.3.0yarn --version
: 0.27.5Steps to Reproduce
The NavigatorIOS navigation bar doesn't seem to render properly under iOS 11.
Expected Behavior
The NavigatorIOS navigation bar should render in iOS 11 like it does in iOS 9.
Actual Behavior
There is a margin under the titlebar that shouldn't be there.
Reproducible Demo
This snack contains a simplified version of the structure in my app.
Unfortunately I can't seem to select an iOS version in Snack, so you don't see the margin issue.
https://snack.expo.io/H1TNLMMFW
The text was updated successfully, but these errors were encountered: