<TextInput
ref={ ref => this.mobileNumberRef = ref}
keyboardType='phone-pad'
returnKeyType='done'
onBlur={() => Keyboard.dismiss()}
/>
I would like to dismiss the keyboard when touched outside of the TextInput
area. But onBlur()
is not getting fired.
Can anybody let me know how to achieve this? Thank You!