You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
This issue is caused by safeArea concept introduced by iOS 11 and set the property contentInsetAdjustmentBehavior of UIScrollView will fix it. Just like: scrollView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever.
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.
stalebot
added
the
Stale
There has been a lack of activity on this issue and it may be closed soon.
label
Nov 3, 2017
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: