-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When a layout is set to use percent margins at the same time that that layout node can't be computed due to a combination of hug/fill layouts, Yoga asserts with: "availableWidth is indefinite so widthMeasureMode must be YGMeasureModeUndefined" or "availableHeight is indefinite so heightMeasureMode must be YGMeasureModeUndefined" This crash only occurs with percent margins, not padding. At this point its unclear whether this is a bug in Yoga but this PR mitigates the crash. Diffs= 339867b4de Fix Yoga crash with percent margin (#9010) Co-authored-by: Philip Chung <[email protected]>
- Loading branch information
Showing
3 changed files
with
77 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7968fd06b819e702e1a6fea94221e93e356c889a | ||
339867b4de68e3c301409dad079747b954d4fa11 |
This file contains 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
This file contains 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