-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
TexInput - textAlign={"start"} prop not working #15633
Labels
Resolution: Locked
This issue was locked by the bot.
Comments
Hey, thanks for reporting this issue! It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported. I am going to close this, but feel free to open a new issue with the additional information provided. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have been using TextInput .
As per the documentation textAlign enum('start', 'center', 'end')
Set the position of the cursor from where editing will begin.
I had made the following changes
<TextInput
ref="company"
autoCapitalize='none'
style={[styles.input,styles.formLabel,commonStyles.smallText]}
value={this.state.company}
underlineColorAndroid={'transparent'}
onChangeText={(text) => this.setState({company:text})}
textAlign={"start"}
/>
and getting this error
Error while updating property 'textAlign' in shadow node of type AndroidTextInput
The text was updated successfully, but these errors were encountered: