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 typo in PanResponder documentation #834

Closed
wants to merge 1 commit into from
Closed

Conversation

blixt
Copy link
Contributor

@blixt blixt commented Apr 13, 2015

The documentation said the config object expected onResponderTerminationRequest but it expects onPanResponderTerminationRequest.

The documentation said the config object expected `onResponderTerminationRequest` but it expects `onPanResponderTerminationRequest`.
@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 Apr 13, 2015
@vjeux vjeux closed this in f7aeefa Apr 15, 2015
@blixt blixt deleted the patch-1 branch April 15, 2015 16:20
facebook-github-bot pushed a commit that referenced this pull request Dec 10, 2018
Summary:
I've noticed that when a child's size is determined by `align-items: stretch` in combination with `aspect-ratio` its size is wrongly calculated to account for margin in the main axis when there is more than enough space.

See playground: https://goo.gl/tgW6cD

I've yet to figure out exactly how to solve this but i've started by writing a failing test when can be seen in the first commit here.

I assumed I had found the bug here https://github.com/facebook/yoga/blob/master/yoga/Yoga.cpp#L1838 where margin is being subtracted from the desired width even though the measure mode tells it to measure to exactly that size. However, if we don't remove this margin from the available width then 15 tests fail (including the one I just added) not quite figured out why yet. I'm also a bit confused at to why this would only happen for nodes with `aspect-ratio` and not for nodes where an explicit height and width is set.
Pull Request resolved: facebook/yoga#834

Reviewed By: astreet

Differential Revision: D13223579

Pulled By: davidaurelio

fbshipit-source-id: 6970e6072e79f3bb6f9097355ab6e441441bfd88
ayushjainrksh referenced this pull request in MLH-Fellowship/react-native Jul 2, 2020
Fix `registerCancellableHeadlessTask` description formatting from `h2` to regular text
acoates-ms pushed a commit to acoates-ms/react-native that referenced this pull request Oct 26, 2021
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