Skip to content

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

Closed
maicki wants to merge 1 commit into
react:masterfrom
maicki:MSMinHeightRCTSurfaceRootShadowView
Closed

Set minHeight instead of minWidth for calculating the layout in RCTSurfaceRootShadowView#17203
maicki wants to merge 1 commit into
react:masterfrom
maicki:MSMinHeightRCTSurfaceRootShadowView

Conversation

@maicki

@maicki maicki commented Dec 14, 2017

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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

maicki commented Dec 28, 2017

Copy link
Copy Markdown
Contributor Author

@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

shergin commented Dec 28, 2017

Copy link
Copy Markdown
Contributor

@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

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

Copy link
Copy Markdown
Contributor

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

shergin commented Dec 28, 2017

Copy link
Copy Markdown
Contributor

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

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