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

Add distinction between iPhone and iPad in the interfaceOrientationWillChange method when export dimensions #11376

Closed
wants to merge 1 commit into from

Conversation

adrienbataille
Copy link

Motivation

This PR is to fix Dimensions not updated on iPad (#7340)

When using let {height, width} = Dimensions.get('window'); on iPhone it works fine but not on iPad.

More information on the bug in this comment: #7340 (comment)

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Dec 8, 2016
@manicakes
Copy link

manicakes commented Dec 8, 2016

@adrienbataille Please see here: #11350

@adrienbataille
Copy link
Author

@manicakes Your fix looks strong mine, I'm closing my PR and hope your PR will be quickly accepted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants