From 1f27098a1aacea3d10a34738b3a5ff1ca9902743 Mon Sep 17 00:00:00 2001 From: Valentin Shergin Date: Fri, 30 Mar 2018 11:43:18 -0700 Subject: [PATCH] Fabric: Proper Yoga node dirting in YogaLayoutableShadowNode Summary: Any change must be propagate upwards. Reviewed By: mdvacca Differential Revision: D7389058 fbshipit-source-id: 09c74640d0e9607d2e17bdd31d7ce69df8565f72 --- ReactCommon/fabric/view/yoga/YogaLayoutableShadowNode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReactCommon/fabric/view/yoga/YogaLayoutableShadowNode.cpp b/ReactCommon/fabric/view/yoga/YogaLayoutableShadowNode.cpp index 376f09236..d7974ae0f 100644 --- a/ReactCommon/fabric/view/yoga/YogaLayoutableShadowNode.cpp +++ b/ReactCommon/fabric/view/yoga/YogaLayoutableShadowNode.cpp @@ -215,7 +215,7 @@ void YogaLayoutableShadowNode::setYogaNodeChildrenBasedOnShadowNodeChildren(YGNo } yogaNode.setChildren(yogaNodeChildren); - yogaNode.setDirty(true); + yogaNode.markDirtyAndPropogate(); } } // namespace react