Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextInput doesn't truncates text #19873

Closed
3 tasks done
mnsrv opened this issue Jun 25, 2018 · 2 comments
Closed
3 tasks done

TextInput doesn't truncates text #19873

mnsrv opened this issue Jun 25, 2018 · 2 comments
Labels
Component: TextInput Related to the TextInput component. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@mnsrv
Copy link

mnsrv commented Jun 25, 2018

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}
/>

textinput

Reproducible Demo

https://snack.expo.io/BkduYDAbQ

@react-native-bot react-native-bot added the Component: TextInput Related to the TextInput component. label Jun 25, 2018
@stale
Copy link

stale bot commented Dec 12, 2018

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 12, 2018
@stale
Copy link

stale bot commented Dec 19, 2018

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Dec 19, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Dec 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Component: TextInput Related to the TextInput component. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

3 participants