Textinput hide keyboard when pressed away code example
Example: 2 taps is required to close keyboad in react native
<ScrollView contentContainerStyle={{flexGrow: 1}}
keyboardShouldPersistTaps='handled'
>
<TextInput keyboardType='numeric'/>
</ScrollView>