diff --git a/yoga/Yoga.c b/yoga/Yoga.c index f22b6199..03925304 100644 --- a/yoga/Yoga.c +++ b/yoga/Yoga.c @@ -1015,6 +1015,9 @@ static inline bool YGNodeIsFlex(const YGNodeRef node) { } static bool YGIsBaselineLayout(const YGNodeRef node) { + if (YGFlexDirectionIsColumn(node->style.flexDirection)) { + return false; + } if (node->style.alignItems == YGAlignBaseline) { return true; }