fix keyboard dismiss on a button click react native code example
Example: 2 taps is required to close keyboad in react native
<ScrollView contentContainerStyle={{flexGrow: 1}}
keyboardShouldPersistTaps='handled'
>
<TextInput keyboardType='numeric'/>
</ScrollView>