Today I Learned

hashrocket A Hashrocket project

Manually dismiss keyboard on React Native

To manually dismiss the keyboard just use the dismissKeyboard function:

const dismissKeyboard = require('dismissKeyboard');

_onSomethingElse() {
  dismissKeyboard();
}
See More #react TILs
Looking for help? At Hashrocket, our JavaScript experts launch scalable, performant apps on the Web, Android and iOS. Contact us and find out how we can help you.