-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix/rootview bounds iphone x #3405
Conversation
# Conflicts: # src/deprecated/platformSpecificDeprecated.android.js
Conflicts: src/deprecated/platformSpecificDeprecated.android.js
…avigation * 'master' of https://github.com/3sidedcube/react-native-navigation: Fixed issue with rightButtons getting ignored in preference for empty Screen buttons
Merge wix/react-native-navigation master into 3sidedcube/react-native-navigation master
a scrollable view to a non-scrollable view the root view's bounds would be incorrect
Merge wix/master into ours
@yogevbd Can this be reviewed please.. Thanks! :) |
I updated our project to use this version and our custom NavBar just went away. I pulled the example project and I only see the Navigator Buttons (right and left). From the code I can see that there is a button in the center of the navbar but it's nowhere to be seen in the app. Can you confirm this issue @simonmitchell @yogevbd |
This reverts commit 9d4eea8.
@yogevbd @guyca I have tested this using the latest code on this branch and it seems to work fine in the example project. I think the problem was that I created the merge request prematurely and then shortly after fixed some issues I'd caused, but the PR had already been merged by this point (Impressively quick work from you guys!) |
* Fixed issue with rightButtons getting ignored in preference for empty Screen buttons * Fixes an issue where on an iPhone X when showing the tab bar on pop from a scrollable view to a non-scrollable view the root view's bounds would be incorrect
Replacing
self.view
on aUIViewController
should not be done in this way, if at all... It can lead to unexpected behaviour, which has been shown in the recent issues submitted where UI glitches were seen on an iPhone X:#2849
#3250
which this pull request fixes!