我有一个React Native android小应用程序,现在包含所有登录/忘记密码流。在登录和设置新密码的两个组件中,我有2个inputText元素,用于实现合适的表单。但是,在这两个组件中,我遇到了将文本写入文本输入的问题。它需要超过2个点击(在inputText的随机位置),所以我能够输入我的文本。我试图找到类似的问题,但似乎没有人真正体验过它。以下是设置新密码的示例 -
<View>
<Image
style={styles.***}
source={{uri: '***'}}
/>
<Text style={styles.resetTitle}>RESET PASSWORD</Text>
<Text style={styles.errorMsg}>
{this.renderError()}
</Text>
<View style={styles.view}>
<TextInput style={styles.textInput}
password={true}
secureTextEntry={true}
onChangeText={this.updatePassword1}
/>
</View>
<Text style={placeholderStylePass1}>New Password</Text>
<View style={styles.view}>
<TextInput style={styles.textInput}
password={true}
secureTextEntry={true}
onChangeText={this.updatePassword2}
/>
</View>
<Text style={placeholderStylePass2}>Confirm New Password</Text>
<TouchableOpacity onPress={this.updateNewPassword} style=
{styles.touchable} >
<Image
style={styles.submit}
source={{uri: '***'}}
/>
</TouchableOpacity>
</View>
触及inputText问题的原因是什么?我该如何解决? Thnx提前..