Closed NickGerleman closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
yoga-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 13, 2024 6:03pm |
This pull request was exported from Phabricator. Differential Revision: D57285584
This pull request was exported from Phabricator. Differential Revision: D57285584
Summary: We've started seeing assertion failures in Yoga where a
NaN
value makes its way to anavailableHeight
constrtaint when measuring Litho nodes.Because it's only happening on Litho, I have some suspicion this might be originating from a Litho-specific measure function. This adds santization in Yoga to measure function results, where we will log an error, and set size to zero, if either dimension ends up being negative of
NaN
.Changelog: [Internal]
Differential Revision: D57285584