Skip to content

Commit

Permalink
Change strict layout conformance to not use any errata (facebook#42063)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: facebook#42063

Static is no longer the default with the previous diff. We can undo this change. See D51731778 (facebook#41733) for context

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D52381124

fbshipit-source-id: 1e4336be6db5aa5d8786fb4f0a211558a7f66365
  • Loading branch information
joevilches authored and Othinn committed Jan 9, 2024
1 parent 0dbf2ea commit 13771f9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,7 @@ YGErrata YogaLayoutableShadowNode::resolveErrata(YGErrata defaultErrata) const {
case LayoutConformance::Classic:
return YGErrataAll;
case LayoutConformance::Strict:
// This is temporary until the default position type is relative
return YGErrataPositionStaticBehavesLikeRelative;
return YGErrataNone;
case LayoutConformance::Undefined:
return defaultErrata;
}
Expand Down

0 comments on commit 13771f9

Please sign in to comment.