react-native-dismiss-keyboard
A simple way to dismiss the keyboard programmatically in a react native application.
Last updated 9 years ago by dschmidt .
MIT · Repository · Bugs · Original npm
$ cnpm install react-native-dismiss-keyboard 
SYNC missed versions from official npm registry.

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 found 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

React Native Version react-native-dismiss-keyboard Version
>= 11 & < 23 < 1.0
>= 23 >= 1.0

If you experience any restrictions or if it works on other versions, please let us know.

Contribution

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

Current Tags

  • 1.0.0                                ...           latest (9 years ago)

1 Versions

  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (9)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org