Closed amibition521 closed 7 years ago
We don't have an automatic solution for this. When the user taps a tab and we call the onPress
function, that's when you have to blur the current TextInput manually.
In onPress
const field = TextInput.State.currentlyFocusedField();
TextInput.State.blurTextInput(field);
One page has a TextInput component.I want to let it loses focus, at the time of page switching, have what way?