React Native have to double click for onPress to work
问题 I'm using React Native with the Native Base library. I need an onPress event to fire on Native Base' ListItem (equivalent to TouchableOpacity) when the keyboard is open. I now have to click once to close the keyboard and then I can press the ListItem. Content tag below is equivalent to ScrollableView: <Content keyboardShouldPersistTaps='always' keyboardDismissMode='on-drag'> <List> <ListItem style={styles.inspectionsItemDivider} itemDivider> <TextInput autoFocus={true} ref={(input) => { this