Closed rohozhnikoff closed 4 years ago
This kind of problem is complicated. Because IQKeyboardManager updates native components directly, so React Native does not know what's changing.
@douglasjunior can we bind on this 'focus' update
if so, we can send message with react id
across the bridge, and update TextInputState from js
it should solve the issue
I'm not sure. But the React Native changes a lot, that would make us dependent.
hey guys thank you for this integration i've spent too much time to make my form-ux perfect, and your package is significant part of it
here is known issue: when using
react-native-keyboard-manager
, app stops firing internal react-native NativeMethodsMixin.focus() behavior, which is contain logic like this:except you manage it imperative with
this.inputRef.focus()
it cause problem with
Keyboard.dismiss()
, withinputRef.blur()
, cause they linked toTextInputState
internal state, which isnt refreshed from lastfocus
.in my app, i solved it by patching like this:
it's okay for my situation, cause i have generic input component but will be better to solve somehow globally