Reputation: 589
I would like to know if there is a way to show keyboard always if it focuses out from the TextInput in react native.
Upvotes: 0
Views: 2590
Reputation: 3438
You can wrap your TextInput
by a ScrollView
and then use the keyboardShouldPersistTaps='handled'
prop in ScrollView
to avoid dismissing the keyboard and handle the keyboard dismiss by using Keyboard.dismiss()
function in somewhere else.
Read this for more documentation.
Upvotes: 1