text in basic MKTextField is not visible while typing
See original GitHub issue
styles.textfield = {
height: 48, // have to do it on iOS
marginTop: 60
}
...
render() {
return (
<View>
<View style={{
margin: 20,
padding: 20,
backgroundColor: "#CCC"
}}>
<MKTextField tintColor={MKColor.Orange} textInputStyle={{
color: MKColor.Blue
}} placeholder="Text…" style={styles.textfield}/>
</View>
<View style={{
margin: 20,
padding: 20,
backgroundColor: "#CCC"
}}>
<TextfieldWithFloatingLabel ref="defaultInput"/>
<Text style={styles.legendLabel}>With floating label</Text>
</View>
</View>
)
}
When focus is on another text box:
When focus is on top text box:
When triple clicking top text box’s text:
So the text is there, definitely, but I can’t see it. Also that placeholder text is right in the middle of the line.
$ react-native --version
react-native-cli: 1.2.0
react-native: 0.39.2
...
"react-native-material-kit": "~0.3.4",
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:8
Top Results From Across the Web
Keyboard is not visible when typing a string in a text field
Open your Simulator. Select Hardware. Select 'Toggle Software Keyboard'. as shown in Image enter image description here.
Read more >Excel iPadOS app - typed text not visible while typing
Hello, In the last week or two we started to have users report issues seeing what they're typing while in excel.
Read more >Text is not showing in form fields as customer is typing - Jotform
As people are filling out the form, what they are typing is not showing up in the box. They are not able to...
Read more >How to get notified for any change in SwiftUI TextField?
The onEditingChanged is only called when te text is changed for the first time ... to just use the `input` variable directly to...
Read more >How to Use Text Fields - Oracle Help Center
A text field is a basic text control that enables the user to type a small ... JPasswordField, A JTextField subclass that does...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
fixed with
textInputStyle={{flexGrow: 1, flex: 0}}
You can fix this bug by adding flex:1 in the textInputStype prop