A simple way to dismiss the keyboard programmatically in a React Native application.

Usage no npm install needed!

<script type="module">
  import 3beeepbReactNativeKeyboardDismiss from 'https://cdn.skypack.dev/@3beeepb/react-native-keyboard-dismiss';


react-native-keyboard-dismiss npm version NPM

This library simple allows iOS and Android apps to dismiss keyboard when touching outside the inputs.

Add it to your project

  1. Run npm install @3beeepb/react-native-keyboard-dismiss --save

  2. Import the library

    import KeyboardDismiss from '@3beeepb/react-native-keyboard-dismiss';
  3. Just use it like this:



Please make sure to run the tests before proposing a PR by running npm test.