Fixes layout of nodes with YGDisplayNone and YGPositionTypeAbsolute #1068

Closed
rozele wants to merge 1 commits from export-D26849307 into master
rozele commented 2021-03-05 10:18:32 -08:00 (Migrated from github.com)

Summary:
There is an issue in react-native when the Yoga node position type is set to absolute and display: none is set where the node layout calculation gives the absolute dimensions, rather than the expected 0 x 0.

Here are some OSS issues tracking this:
https://github.com/facebook/react-native/issues/18415
https://github.com/microsoft/react-native-windows/issues/7289

Differential Revision: D26849307

Summary: There is an issue in react-native when the Yoga node position type is set to absolute and display: none is set where the node layout calculation gives the absolute dimensions, rather than the expected 0 x 0. Here are some OSS issues tracking this: https://github.com/facebook/react-native/issues/18415 https://github.com/microsoft/react-native-windows/issues/7289 Differential Revision: D26849307
facebook-github-bot commented 2021-03-05 10:18:48 -08:00 (Migrated from github.com)

This pull request was exported from Phabricator. Differential Revision: D26849307

This pull request was **exported** from Phabricator. Differential Revision: [D26849307](https://phabricator.intern.facebook.com/D26849307)
facebook-github-bot commented 2021-03-09 10:08:11 -08:00 (Migrated from github.com)

This pull request was exported from Phabricator. Differential Revision: D26849307

This pull request was **exported** from Phabricator. Differential Revision: [D26849307](https://phabricator.intern.facebook.com/D26849307)
facebook-github-bot commented 2021-03-10 13:10:44 -08:00 (Migrated from github.com)

This pull request has been merged in facebook/yoga@342aebe1d7.

This pull request has been merged in facebook/yoga@342aebe1d73e5770a1862b6a94c6b877c1439a9b.

Pull request closed

Sign in to join this conversation.
No description provided.