TextInput: no placeholder and white font in testflight
See original GitHub issueIssue with text input not showing placeholder and the value font being while when the project is compiled and released testflight
IOS Version: 13
React Native Version: 0.60.5
React Native CLI version: 2.0.1
Xcode version: 11.2.1
[skip envinfo]
Here is the code behind the textinput
<TextInput style={styles.input} keyboardType="numeric" onChangeText={(value) => this.afunction(value)} value={this.state.value} placeholder="placeholder"/>
This is what it looks like when in a development simulator: https://github.com/wkibbler/rn-issue-screenshots/blob/master/in-simualator.png
This is what it looks like when downloaded into an iPhoneX using testflight and ios 13: https://github.com/wkibbler/rn-issue-screenshots/blob/master/on-testflight.jpeg (ignore the red circle thats just a tester illustrating the issue)
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (2 by maintainers)
Top GitHub Comments
Dark mode affects the default colour of the placeholder. You can override this behaviour by setting
placeholderTextColor
on theTextInput
.Just a quick question: do you have dark mode enabled in your iPhone?