Skip to content

A simple way to dismiss the keyboard programmatically in a react native application

License

Notifications You must be signed in to change notification settings

DanielMSchmidt/react-native-dismiss-keyboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-native-dismiss-keyboard CircleCi npm version

A simple way to dismiss the keyboard programmatically in a react native application. A demo app can be fond here.

Add it to your project

  1. Run npm install react-native-dismiss-keyboard --save
  2. Import the library
  • var dismissKeyboard = require('react-native-dismiss-keyboard');
  • import dismissKeyboard from 'react-native-dismiss-keyboard';
  1. Run dismissKeyboard() anywhere in your code to close the keyboard.

Support

We currently support react-native >= 0.11, if you experience any restrictions or if it works below, please let us know.

Contribution

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

About

A simple way to dismiss the keyboard programmatically in a react native application

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published