mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 11:34:23 +00:00
6b11259c46
Summary: Looks like `-[NSLayoutManager ensureLayoutForTextContainer:textContainer]` has a bug that cause infinite loop inside this method during measuring some special characters AND when specified `width` equals NaN (which is useless anyways). So, we cover this case in this diff. Reviewed By: javache Differential Revision: D5859767 fbshipit-source-id: 58a5910f21f282bf5b82494916b5b02ad72d357f