Fix node ownership when display: contents is used (#1924)#1924
Closed
j-piasecki wants to merge 1 commit into
Closed
Fix node ownership when display: contents is used (#1924)#1924j-piasecki wants to merge 1 commit into
display: contents is used (#1924)#1924j-piasecki wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
@j-piasecki has imported this pull request. If you are a Meta employee, you can view this in D100581579. |
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 13, 2026
Summary: Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 20, 2026
Summary: Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 20, 2026
Summary: Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 20, 2026
Summary: Pull Request resolved: facebook#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 20, 2026
Summary: Pull Request resolved: facebook#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 20, 2026
Summary: Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: react/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 20, 2026
Summary: Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 20, 2026
Summary: Pull Request resolved: facebook#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 20, 2026
Summary: Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 20, 2026
Summary: Pull Request resolved: facebook#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Apr 21, 2026
Summary: Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
Summary: X-link: facebook/react-native#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki
display: contents is useddisplay: contents is used (#1924)
e77f74c to
4cb9bdd
Compare
|
@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D100581579. |
meta-codesync Bot
pushed a commit
to react/react-native
that referenced
this pull request
Apr 21, 2026
Summary: Pull Request resolved: #56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: react/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki fbshipit-source-id: e05e9a4076bd11a71be438ef910a262044659a9b
|
@j-piasecki merged this pull request in 966107f. |
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Jun 9, 2026
Summary: Pull Request resolved: facebook#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki fbshipit-source-id: e05e9a4076bd11a71be438ef910a262044659a9b
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Jun 9, 2026
Summary: Pull Request resolved: facebook#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki fbshipit-source-id: e05e9a4076bd11a71be438ef910a262044659a9b
j-piasecki
added a commit
to j-piasecki/react-native
that referenced
this pull request
Jun 9, 2026
Summary: Pull Request resolved: facebook#56422 Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when `display: contents` is used in absolutely positioned subtrees Fixes an edge case where nodes with `display: contents` weren't cloned properly inside absolutely positioned subtrees. Adds a test case covering this scenario. X-link: facebook/yoga#1924 Reviewed By: NickGerleman Differential Revision: D100581579 Pulled By: j-piasecki fbshipit-source-id: e05e9a4076bd11a71be438ef910a262044659a9b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
X-link: react/react-native#56422
Changelog: [GENERAL][FIXED] Fixed Yoga node ownership when
display: contentsis used in absolutely positioned subtreesFixes an edge case where nodes with
display: contentsweren't cloned properly inside absolutely positioned subtrees.Adds a test case covering this scenario.
Reviewed By: NickGerleman
Differential Revision: D100581579
Pulled By: j-piasecki