react-native/Libraries/Text
Valentin Shergin 6b11259c46 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
2017-09-19 14:16:41 -07:00
..
RCTText.xcodeproj Standardize project indentation settings on 2 spaces 2017-07-31 05:20:03 -07:00
RCTBackedTextInputDelegate.h TextInput: Unified support of `blurOnSubmit` prop 2017-07-18 14:46:22 -07:00
RCTBackedTextInputDelegateAdapter.h TextInput: `selection` property was unified 2017-07-18 14:46:22 -07:00
RCTBackedTextInputDelegateAdapter.m TextInput: `selection` property was unified 2017-07-18 14:46:22 -07:00
RCTBackedTextInputViewProtocol.h TextInput: Refined contentSize calculation 2017-07-18 14:46:22 -07:00
RCTConvert+Text.h iOS: Introduce spellCheck prop to TextInput 2016-11-25 04:28:28 -08:00
RCTConvert+Text.m iOS: Introduce spellCheck prop to TextInput 2016-11-25 04:28:28 -08:00
RCTRawTextManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTRawTextManager.m Revert D4538026: Stop allocating an RCTView for everying RCTRawText 2017-02-13 15:00:18 -08:00
RCTShadowRawText.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTShadowRawText.m Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTShadowText.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTShadowText.m Fixed issue with measuring text with NaN width 2017-09-19 14:16:41 -07:00
RCTShadowTextField.h Better TextInput: RCTTextView and RCTTextField was marked as Yoga leaf nodes 2017-03-13 13:46:26 -07:00
RCTShadowTextField.m Better TextInput: RCTTextView and RCTTextField was marked as Yoga leaf nodes 2017-03-13 13:46:26 -07:00
RCTShadowTextView.h Better TextInput: RCTTextView and RCTTextField was marked as Yoga leaf nodes 2017-03-13 13:46:26 -07:00
RCTShadowTextView.m Better TextInput: RCTTextView and RCTTextField was marked as Yoga leaf nodes 2017-03-13 13:46:26 -07:00
RCTText.h Added support of `<Text>`'s `selectable` attribute on iOS 2016-11-17 16:13:28 -08:00
RCTText.m Proper support of the accessibilityLabel for <Text> components on iOS 2017-09-12 12:53:59 -07:00
RCTTextField.h TextInput: `selection` property was unified 2017-07-18 14:46:22 -07:00
RCTTextField.m TextInput: textInputShouldEndEditing and textInputDidEndEditing were moved to base class 2017-07-18 14:46:22 -07:00
RCTTextFieldManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextFieldManager.m TextInput: Unified support of `clearTextOnFocus` prop 2017-07-18 14:46:22 -07:00
RCTTextInput.h TextInput: textInputShouldEndEditing and textInputDidEndEditing were moved to base class 2017-07-18 14:46:22 -07:00
RCTTextInput.m TextInput: `onSubmitEditing` is now woriking with disabled `blurOnSubmit` 2017-08-10 18:19:43 -07:00
RCTTextManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextManager.m Several layout related helper methods of RCTShadowView was moved to new (+Layout) category. 2017-05-08 11:31:20 -07:00
RCTTextSelection.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextSelection.m Add TextInput controlled selection prop on iOS 2016-08-25 17:28:37 -07:00
RCTTextView.h TextInput: `selection` property was unified 2017-07-18 14:46:22 -07:00
RCTTextView.m TextInput: textInputShouldEndEditing and textInputDidEndEditing were moved to base class 2017-07-18 14:46:22 -07:00
RCTTextViewManager.h Move all header imports to "<React/..>" 2016-11-23 07:58:39 -08:00
RCTTextViewManager.m TextInput: Unified support of `clearTextOnFocus` prop 2017-07-18 14:46:22 -07:00
RCTUITextField.h Introducing `RCTBackedTextInputDelegate` 2017-07-18 14:46:22 -07:00
RCTUITextField.m TextInput: Refined contentSize calculation 2017-07-18 14:46:22 -07:00
RCTUITextView.h Introducing `RCTBackedTextInputDelegate` 2017-07-18 14:46:22 -07:00
RCTUITextView.m TextInput: Refined contentSize calculation 2017-07-18 14:46:22 -07:00
Text.js ReactNative sync (c3718c4...abce30f): the one about the Prepack optimizations 2017-09-14 18:17:17 -07:00
TextStylePropTypes.js Update remaining PropTypes references 2017-06-12 16:03:09 -07:00
TextUpdateTest.js @allow-large-files Flow v0.54.0 2017-09-06 03:33:43 -07:00