-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Android doesn't respect autoCapitalize when secureTextEntry is set #17099
Comments
I just made a project with Also downgraded to your react-native version. Same result. Edit: Even in Expo the keyboard is lowercased for me. Even so I can not reproduce this behaviour: As far as I see react-native does not unset any input type flags set by Lines 509 to 526 in 1e18d90
|
Thanks for the response @Sommerfeld. I updated to the latest React Native and seemed to work on my Android device. So putting it down to something strange in Android, thanks. |
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Steps to Reproduce
Expected Behavior
Keyboard shouldn't be auto capitalized. It seems when
autoCapitalize
andsecureTextEntry
are both setautoCapitalize
is ignored. If I removesecureTextEntry
thenautoCapitalize
works as expected. This only happens on Android.Actual Behavior
Keyboard is auto capitalized when
secureTextEntry
is setReproducible Demo
https://snack.expo.io/ByoIR0rbG
The text was updated successfully, but these errors were encountered: