diff --git a/yoga/Yoga.cpp b/yoga/Yoga.cpp index 99862797..20389d4f 100644 --- a/yoga/Yoga.cpp +++ b/yoga/Yoga.cpp @@ -2229,7 +2229,7 @@ static float YGDistributeFreeSpaceSecondPass( depth, generationCount); node->setLayoutHadOverflow( - node->getLayout().hadOverflow() | + node->getLayout().hadOverflow() || currentRelativeChild->getLayout().hadOverflow()); } return deltaFreeSpace;