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

Set minHeight instead of minWidth for calculating the layout in RCTSurfaceRootShadowView #17203

Closed
wants to merge 1 commit into from
Closed

Set minHeight instead of minWidth for calculating the layout in RCTSurfaceRootShadowView #17203

wants to merge 1 commit into from

Conversation

maicki
Copy link
Contributor

@maicki maicki commented Dec 14, 2017

Motivation

Fix calculating layout in RCTSurfaceRootShadowView as the minWidth is set doubled in calculateLayoutWithMinimumSize:maximumSize:.

cc @shergin

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 14, 2017
@pull-bot
Copy link

Warnings
⚠️

📋 Test Plan - This PR appears to be missing a Test Plan.

⚠️

📋 Release Notes - This PR appears to be missing Release Notes.

@facebook-github-bot label Needs more information

@facebook-github-bot label Needs more information

Generated by 🚫 dangerJS

@maicki
Copy link
Contributor Author

maicki commented Dec 28, 2017

@shergin Hey - could you please take a look at this PR. If this would go into a public release we would have to manually patch it in this release if we would like to use it. Thanks!

@shergin
Copy link
Contributor

shergin commented Dec 28, 2017

@maicki Oh, sorry, I missed this. Sure!

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Dec 28, 2017
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@shergin is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@shergin
Copy link
Contributor

shergin commented Dec 28, 2017

@maicki Just curious, where do you use this? 😄

mathiasbynens pushed a commit to mathiasbynens/react-native that referenced this pull request Jan 13, 2018
…rfaceRootShadowView

Summary:
Fix calculating layout in `RCTSurfaceRootShadowView` as the `minWidth` is set doubled in `calculateLayoutWithMinimumSize:maximumSize:`.

cc shergin
Closes facebook#17203

Differential Revision: D6642437

Pulled By: shergin

fbshipit-source-id: 3483c952c9ecf0132182a156b7b916eb1e975424
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. Import Started This pull request has been imported. This does not imply the PR has been approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants