Closed
Description
- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
Run react-native info
in your terminal and paste its contents here.
Environment:
OS: macOS High Sierra 10.13.4
Node: 9.8.0
Yarn: 1.6.0
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.1 AI-173.4819257
Packages: (wanted => installed)
react: ^16.3.1 => 16.4.0
react-native: ^0.55.1 => 0.55.4
Description
TextInput with value
prop doesn't truncates text. TextInput without value prop truncates text as expected.
<TextInput
value={this.state.inputValue}
onChangeText={this._handleTextChange}
style={styles.firstInput}
/>
<TextInput
style={styles.secondInput}
/>