Skip to content

Fix node ownership when display: contents is used#56422

Open
j-piasecki wants to merge 1 commit intofacebook:mainfrom
j-piasecki:export-D100581579
Open

Fix node ownership when display: contents is used#56422
j-piasecki wants to merge 1 commit intofacebook:mainfrom
j-piasecki:export-D100581579

Conversation

@j-piasecki
Copy link
Copy Markdown
Contributor

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

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
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Apr 13, 2026

@j-piasecki has exported this pull request. If you are a Meta employee, you can view the originating Diff in D100581579.

@meta-cla meta-cla 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, 2026
@facebook-github-tools facebook-github-tools bot added p: Software Mansion Partner: Software Mansion Partner p: Facebook Partner: Facebook labels Apr 13, 2026
Copy link
Copy Markdown

@harikishan-45 harikishan-45 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okieeee

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. fb-exported meta-exported p: Facebook Partner: Facebook p: Software Mansion Partner: Software Mansion Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants