-
Notifications
You must be signed in to change notification settings - Fork 24.5k
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
Setting state on controlled TextInput duplicates its value #20361
Comments
Can you reproduce this on 0.56? You can try using |
Hello @DanielRamosAcosta ! I've been through this same problem, The only solution I found was ... use the property autoCapitalize = {'characters'}. I believe this is not the ideal solution, but it helps to "remedy" the problem. |
I confirm I think this is related to - #19085 |
I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while. If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here. |
It happens on the latest release as well. |
The problem of this is related to set uppercase the state string, maybe this can help the dev team of facebook to track the issue on native side. |
Environment
OS: Windows 10
Node: 10.6.0
Yarn: Not Found
npm: 6.1.0
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.1.0.0 AI-173.4819257
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: ~0.55.2 => 0.55.4
Description
I have created an app from scratch using
create-react-native-app
, and I have modifiedApp.js
to include the following:Reproducible Demo
This is the example I'm using: https://snack.expo.io/HyVKGuVNQ
Here is a video I've recorded: https://www.youtube.com/watch?v=TyXIc2euVCs
It seems that it's only reproducible in Android
And here is the same video as GIF:
Why I haven't used
[email protected]
Installing
[email protected]
and[email protected]
leads to an strange error when executingnpm start
:Issues that might be related:
/cc @adrian-afergon
The text was updated successfully, but these errors were encountered: