Skip to content

Commit 73d02fa

Browse files
joevilchesfacebook-github-bot
authored andcommitted
Change strict layout conformance to not use any errata (#42063)
Summary: Pull Request resolved: #42063 Static is no longer the default with the previous diff. We can undo this change. See D51731778 (#41733) for context Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D52381124 fbshipit-source-id: 1e4336be6db5aa5d8786fb4f0a211558a7f66365
1 parent 348290b commit 73d02fa

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/react-native/ReactCommon/react/renderer/components/view/YogaLayoutableShadowNode.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -497,8 +497,7 @@ YGErrata YogaLayoutableShadowNode::resolveErrata(YGErrata defaultErrata) const {
497497
case LayoutConformance::Classic:
498498
return YGErrataAll;
499499
case LayoutConformance::Strict:
500-
// This is temporary until the default position type is relative
501-
return YGErrataPositionStaticBehavesLikeRelative;
500+
return YGErrataNone;
502501
case LayoutConformance::Undefined:
503502
return defaultErrata;
504503
}

0 commit comments

Comments
 (0)