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

Fix/rootview bounds iphone x #3405

Merged
merged 15 commits into from
Jun 25, 2018

Conversation

simonmitchell
Copy link
Contributor

Replacing self.view on a UIViewController 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!

Tim Matthews and others added 14 commits December 22, 2016 09:31
# 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
@yershalom yershalom requested a review from yogevbd June 21, 2018 10:40
@steverob
Copy link

@yogevbd Can this be reviewed please.. Thanks! :)

@yogevbd yogevbd merged commit 9d4eea8 into wix:master Jun 25, 2018
@steverob
Copy link

steverob commented Jun 25, 2018

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

8a894b0f-48fa-4b93-b0e3-cf440b9b12de

yogevbd added a commit that referenced this pull request Jun 26, 2018
pmogollons added a commit to pmogollons/react-native-navigation that referenced this pull request Jul 10, 2018
guyca pushed a commit that referenced this pull request Jul 12, 2018
@simonmitchell
Copy link
Contributor Author

@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!)

reimertz pushed a commit to mavencook/react-native-navigation that referenced this pull request Sep 14, 2018
* 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
reimertz pushed a commit to mavencook/react-native-navigation that referenced this pull request Sep 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants