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.
<TextInputvalue={this.state.inputValue}onChangeText={this._handleTextChange}style={styles.firstInput}/><TextInputstyle={styles.secondInput}/>
Reproducible Demo
https://snack.expo.io/BkduYDAbQ
Environment
Run
react-native infoin 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
valueprop doesn't truncates text. TextInput without value prop truncates text as expected.Reproducible Demo
https://snack.expo.io/BkduYDAbQ