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 RNTester examples for display: contents #47201

Conversation

j-piasecki
Copy link
Contributor

Summary:

Adds a page dedicated to display: contents to RNTester APIs section. Those can be used to verify that it's working correctly visually.

Needs #47194

Changelog:

[INTERNAL] [ADDED] - Added display: contents examples to RNTester

Test Plan:

Run the newly added examples.

Summary:
Fixes a case where a node with `display: contents` would not be cleaned up in some cases. This was caused by it being called after some early returns handling different quick paths. This PR moves the call to `cleanupContentsNodesRecursively` earlier so that it's always called.

Changelog:
[General][Fixed] - Fix for nodes with `display: contents` not being cleaned in some cases

X-link: facebook/yoga#1729

Differential Revision: D64910099

Pulled By: NickGerleman
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Oct 25, 2024
@facebook-github-bot
Copy link
Contributor

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@NickGerleman
Copy link
Contributor

/rebase

@NickGerleman
Copy link
Contributor

Hmm, @cortinico don't think the auto rebase action is working (looks like it's not listening for pull_request_review_comment)?

I think I can do this a jank way though.

@facebook-github-bot
Copy link
Contributor

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 31, 2024
@facebook-github-bot
Copy link
Contributor

@NickGerleman merged this pull request in fd273f8.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @j-piasecki in fd273f8

When will my fix make it into a release? | How to file a pick request?

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. Merged This PR has been merged. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants