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