I have several inputs fields that are presented one after the other using flatlist and smartView that represents each input, with the structure being like this:
    <View>
    <Dialog>
    <View >
    <KeyboardAvoidingView>
    <FlatList
    renderItem={({ item }) => (
    <SmartView //structure of view per input
 <SafeAreaView>
<View>
   <InputItem/>
 <TouchableNativeFeedback/> //button that must be clicked
</View>
 </SafeAreaView>
 />
    )}>
    </KeyboardAvoidingView>
    </View>
    </Dialog>
    </View >
The class <InputItem/> contains the  <TextInput> in question and the <TouchableNativeFeedback/> is on the same level as the <InputItem/>
I just need for the button to register a click WHEN KEYBOARD is showing, as this app is running on iPad and keyboard do not come in they way of anything. Many thanks
Fixed issue by adding keyboardShouldPersistTaps={"always"} to component <Dialog>.
Add this prop to your FlatList so that touches will get detected even though the keyboard is opened: keyboardShouldPersistTaps="handled" or keyboardShouldPersistTaps="always"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With