diff --git a/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h b/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h index d0e71872810d75..823d106a3191d8 100644 --- a/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h +++ b/ReactCommon/react/renderer/textlayoutmanager/TextMeasureCache.h @@ -190,7 +190,9 @@ inline bool operator==( lhs.attributedString, rhs.attributedString) && lhs.paragraphAttributes == rhs.paragraphAttributes && lhs.layoutConstraints.maximumSize.width == - rhs.layoutConstraints.maximumSize.width; + rhs.layoutConstraints.maximumSize.width && + lhs.layoutConstraints.maximumSize.height == + rhs.layoutConstraints.maximumSize.height; } inline bool operator!=(