mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Change strict layout conformance to not use any errata (#42063)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/42063 Static is no longer the default with the previous diff. We can undo this change. See D51731778 (https://github.com/facebook/react-native/pull/41733) for context Changelog: [Internal] Reviewed By: NickGerleman Differential Revision: D52381124 fbshipit-source-id: 1e4336be6db5aa5d8786fb4f0a211558a7f66365
This commit is contained in:
committed by
Facebook GitHub Bot
parent
348290b9b3
commit
73d02fadd2
+1
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user