TextInput autoCapitalize="words" not working when keyboardType prop is passed on Android
See original GitHub issueWhen adding autoCapitalize="words" and keyboardType with any value, on Android, nothing is auto-capitalized. There have been other issues regarding this, but they have been closed, locked and since ignored (#11776 #8932).
In older issues/comments it’s stated that this happens only when margin or padding is applied through style on the TextInput, but this is not the case. It also happens without.
If this has been fixed in React Native 0.60+, please let me know. I’m only able to test on 0.59.
React Native version: info React Native Environment Info: System: OS: Windows 10 CPU: (8) x64 Intel® Core™ i7-7700HQ CPU @ 2.80GHz Memory: 4.79 GB / 15.89 GB Binaries: Yarn: 1.1.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.10.3 - C:\Program Files\nodejs\npm.CMD IDEs: Android Studio: Version 3.5.0.0 AI-191.8026.42.35.5791312
Steps To Reproduce
- Add
autoCapitalize="words"to aTextInput. - Also add
keyboardType=...with any value. Evenundefined, even thoughundefinedprops are supposed to be ignored in React.
Describe what you expected to happen:
The first letter of each word is capitalized.
Issue Analytics
- State:
- Created 4 years ago
- Comments:11

Top Related StackOverflow Question
This can be closed as the fix was merged in.
cc @TheSavior
@KPS250 any update have you resolved ?