I want to avoid keyboard from opening when TextInput
get focus and then in a few seconds later I want to open it programmatically
, but right now I can't stop it from auto opening
.
我该怎么做。
Because right now I have an Emojis Component
, so when I Click on Emojis Icon
the Emojis Component
will be visible
and when I click again on TextInput the Emojis Component
will be unmounted and the Keyboard
will be visible
.
这实际上效果很好,那是什么问题呢?
Problem is, there is not a smooth visible transitions
between keyboard
and Emojis Component
.
Try using the flag
showSoftInputOnFocus={false}
on theTextInput
component.