-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Add RNTester examples for display: contents
#47201
Conversation
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
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
/rebase |
Hmm, @cortinico don't think the auto rebase action is working (looks like it's not listening for I think I can do this a jank way though. |
@NickGerleman has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
@NickGerleman merged this pull request in fd273f8. |
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? |
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 RNTesterTest Plan:
Run the newly added examples.