[IOS 15] TextInput textAlign:right space issue
See original GitHub issueDescription
If use TextInput component with textAlign:‘right’ property, when typing space, it is not shown until entering another character (not space)
Steps to Reproduce
<TextInput style={{ textAlign: 'right' }} placeholder={'Please input '} />
Expected Results Show space in TextInput
Version
0.57.7
Output of react-native info
React Native Environment Info: System: OS: macOS 11.6.1 CPU: (8) x64 Intel® Core™ i7-7820HQ CPU @ 2.90GHz Memory: 63.70 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 15.11.0 - ~/.nvm/versions/node/v15.11.0/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 7.6.0 - ~/.nvm/versions/node/v15.11.0/bin/npm Watchman: 2021.06.07.00 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1 IDEs: Android Studio: 3.5 AI-191.8026.42.35.5977832 Xcode: 12.2/12B45b - /usr/bin/xcodebuild npmPackages: react: 16.6.1 => 16.6.1 react-native: 0.57.7 => 0.57.7
Steps to reproduce
<TextInput style={{ textAlign: 'right' }} placeholder={'Please input '} />
Snack, code example, screenshot, or link to a repository
No response
Issue Analytics
- State:
- Created 2 years ago
- Comments:15
Top GitHub Comments
I would be fired if this issue is not resolved, pls help me !!!
I tried the following methods and they didn’t work