Vahid
Vahid

Reputation: 1378

How dismiss keyboard without losing focus on ReactNative.( show cursor at least)

I'm having an issue with customized keypad on react native, once the keyboard is dismissed, the cursor and on focus is lost.

Is there any way to prevent this behaviour?

enter image description here

Upvotes: 1

Views: 983

Answers (1)

Oleg Levin
Oleg Levin

Reputation: 3621

Created the expo snack example with input ref focus return and keyboard dismiss events as concept that what you need.

You can look at the code and run it on device: https://snack.expo.io/@djalik/keyboard

Upvotes: 0

Related Questions