You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By checking the issue facebook/react-native#113 I learned that I can call blur() to lose focus on a text input, the following code:
<TextInput ref='REF_MY_INPUT'
When this text input is focused, calling this.refs.REF_MY_INPUT.blur() works just fine, it loses focus on the input and dismisses keyboard.
But it does not work on
<MKTextField ref='REF_MY_INPUT'
The use case is I am validating the user input on every text change, when it reaches to an valid state, it automatically loses focus/dismissed keyboard on that input area.
The text was updated successfully, but these errors were encountered:
By checking the issue facebook/react-native#113 I learned that I can call blur() to lose focus on a text input, the following code:
When this text input is focused, calling this.refs.REF_MY_INPUT.blur() works just fine, it loses focus on the input and dismisses keyboard.
But it does not work on
The use case is I am validating the user input on every text change, when it reaches to an valid state, it automatically loses focus/dismissed keyboard on that input area.
The text was updated successfully, but these errors were encountered: