Skip to content

Conversation

@ide
Copy link
Contributor

@ide ide commented Apr 22, 2015

The root view's content was being rendered at the wrong offset when it was not positioned at (0, 0) exactly, because the shadow view's frame was set to the root view's frame when it should have been set to the root view's bounds instead.

Test Plan: Render a root view positioned at (0, 100) and see that its content is positioned where the root view is, not at (0, 200).

The root view's content was being rendered at the wrong offset when it was not positioned at (0, 0) exactly, because the shadow view's frame was set to the root view's frame when it should have been set to the root view's bounds instead.

Test Plan: Render a root view positioned at (0, 100) and see that its content is positioned where the root view is, not at (0, 200).
@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 22, 2015
@tadeuzagallo
Copy link
Contributor

Oops, thanks!

@ide ide closed this in af61b13 Apr 24, 2015
@ide ide deleted the rootview-frame branch April 24, 2015 21:46
dannyvv pushed a commit to dannyvv/react-native that referenced this pull request Feb 10, 2022
* Deprecate `acceptsKeyboardFocus`

* update jest

* Add back deleted prop

* Add a redbox
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.

4 participants