react-native/Libraries/Text
Johannes Baldursson 610412385b Exposed scrollEnabled on TextInput (#19330)
Summary:
On iOS, it is not possible to select a range of text using a `Text` component (see #13938). Because of how the `Text` component is implemented on iOS, this will not work without a complete re-write. On Android however, this is not an issue.

As the `TextInput` component has evolved, it can more or less be used as a drop-in replacement on iOS by setting `multiline={true}` and `editable={false}`. Except for one detail: the text input field has scrolling activated and it's not possible to turn off. (See #1391 and #15962).

This pull request addresses that issue, simply by exposing the `scrollEnabled` property:

```
<TextInput
    multiline
    editable={false}
    scrollEnabled={false}
  />
```

1. Create a multiline `TextInput` component, with the attributes presented above.
2. Run on iOS
3. The `TextInput` field should not be able to scroll

facebook/react-native-website#367

[IOS] [FEATURE] [TextInput] - Made it possible to turn off scrolling on a multiline TextInput component
Pull Request resolved: https://github.com/facebook/react-native/pull/19330

Differential Revision: D9235061

Pulled By: hramos

fbshipit-source-id: 99d278004fc236b47dde7e61d74c71e8a3b9d170
2018-08-08 18:46:53 -07:00
..
BaseText iOS textTransform style support 2018-04-16 09:01:38 -07:00
RCTText.xcodeproj Update Xcode projects (#19574) 2018-06-19 23:48:12 -07:00
RawText Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Text Add accessibilityHint for iOS (#18093) 2018-07-25 17:47:42 -07:00
TextInput Exposed scrollEnabled on TextInput (#19330) 2018-08-08 18:46:53 -07:00
VirtualText Update license headers for MIT license 2018-02-16 18:31:53 -08:00
RCTConvert+Text.h iOS: fix up RNTesterPods 2018-05-16 14:14:41 -07:00
RCTConvert+Text.m iOS textTransform style support 2018-04-16 09:01:38 -07:00
RCTTextAttributes.h iOS: fix up RNTesterPods 2018-05-16 14:14:41 -07:00
RCTTextAttributes.m iOS textTransform style support 2018-04-16 09:01:38 -07:00
RCTTextTransform.h iOS textTransform style support 2018-04-16 09:01:38 -07:00
Text.js Fix more forwardRef displayNames 2018-06-19 14:17:19 -07:00
TextAncestor.js Flow strictify possible files in RN core 2018-06-20 00:47:21 -07:00
TextPropTypes.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
TextProps.js accessibilityTraits + accessibilityComponentType >> accessibilityRole + accessibilityStates 1/3 2018-07-25 23:48:26 -07:00
TextStylePropTypes.js Prettier React Native Libraries 2018-05-10 19:10:38 -07:00