Textinput在输入状态下,点击按钮,只会收起键盘,不触发点击事件,再次点击按钮,才能触发点击事件,这个问题有办法解决么?
<TextInput ref = 'textInput'
style={styles.input}
keyboardType='numeric'
underlineColorAndroid={'transparent'}
defaultValue={defaultValue}
/>
<TouchableOpacity onPress={() => {console.log('click)}></TouchableOpacity>
onPressIn 这个