键盘不';在react原生android中不显示文本输入
我有一个react原生android应用程序,键盘不会显示在任何文本输入上,包括FBLogin呈现的文本输入。我曾在Genymotion、三星和Nexus设备上试用过。键盘确实在iOS上显示 我在启动时收到此日志消息 “无法在JS中分派键盘事件,因为尚未附加react实例”键盘不';在react原生android中不显示文本输入,android,react-native,Android,React Native,我有一个react原生android应用程序,键盘不会显示在任何文本输入上,包括FBLogin呈现的文本输入。我曾在Genymotion、三星和Nexus设备上试用过。键盘确实在iOS上显示 我在启动时收到此日志消息 “无法在JS中分派键盘事件,因为尚未附加react实例” let选项={ 订单:[“电子邮件”,“密码”], 字段:{ 电邮:{ 自动资本化:“无”, 键盘类型:“电子邮件地址”, 自动更正:错误, returnKeyType:“完成”, enablesReturnKeyAutom
let选项={
订单:[“电子邮件”,“密码”],
字段:{
电邮:{
自动资本化:“无”,
键盘类型:“电子邮件地址”,
自动更正:错误,
returnKeyType:“完成”,
enablesReturnKeyAutomatically:true,
onSubmitEditing:()=>此.\u已提交('密码')
},
密码:{
自动资本化:“无”,
自动更正:错误,
密码:true,
secureTextEntry:true,
returnKeyType:“完成”,
enablesReturnKeyAutomatically:true,
onSubmitEditing:()=>此。_已提交('电子邮件')
},
}
let options = {
order: ['email', 'password'],
fields: {
email: {
autoCapitalize: "none",
keyboardType: "email-address",
autoCorrect: false,
returnKeyType: "done",
enablesReturnKeyAutomatically: true,
onSubmitEditing: () => this._submitIfFilled('password')
},
password: {
autoCapitalize: "none",
autoCorrect: false,
password: true,
secureTextEntry: true,
returnKeyType: "done",
enablesReturnKeyAutomatically: true,
onSubmitEditing: () => this._submitIfFilled('email')
},
}
<Form
onChange={this._onChange.bind(this)}
value={this.state.formValue}
ref="form"
type={User}
options={options} />