Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed issue with measuring text with NaN width
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
- Loading branch information