All Projects → DanielMSchmidt → React Native Dismiss Keyboard

DanielMSchmidt / React Native Dismiss Keyboard

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

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to React Native Dismiss Keyboard

Vimperator Labs
Vimperator
Stars: ✭ 1,184 (+1120.62%)
Mutual labels:  keyboard
Quickcut
QuickCut is a cross-platform keyboard manager that both facilitates key mapping and allows the configuration of global hotkeys triggering user defined actions.
Stars: ✭ 84 (-13.4%)
Mutual labels:  keyboard
Gohook
GoHook, Go global keyboard and mouse listener hook
Stars: ✭ 94 (-3.09%)
Mutual labels:  keyboard
Mouse2joystick custom cemu
An AutoHotkey Script to allow the use of Mouse and Keyboard control in CEMU. This uses vJoy and provides several additional features over regular keyboard control, like: the ability to control the camera with the mouse, toggle walking speed, in BotW use MouseWheel to change weapons, a separate Toggle key for ZL useful for locking onto a target in BotW.
Stars: ✭ 76 (-21.65%)
Mutual labels:  keyboard
Rxkeyboard
Reactive Keyboard in iOS
Stars: ✭ 1,246 (+1184.54%)
Mutual labels:  keyboard
Simple Keyboard
Javascript Virtual Keyboard - Customizable, responsive and lightweight
Stars: ✭ 1,275 (+1214.43%)
Mutual labels:  keyboard
Keymousego
类似按键精灵的鼠标键盘录制和自动化操作 模拟点击和键入 | automate mouse clicks and keyboard input
Stars: ✭ 1,145 (+1080.41%)
Mutual labels:  keyboard
Bigbagkbdtrixxkb
"DreymaR's Big Bag of Keyboard Tricks" for *nix with XKB
Stars: ✭ 95 (-2.06%)
Mutual labels:  keyboard
Jp01
JP01 - Arisu Custom CNC Aluminum Unibody Keyboard Case
Stars: ✭ 84 (-13.4%)
Mutual labels:  keyboard
Evscript
A tiny sandboxed Dyon scripting environment for evdev input devices that lets you do e.g. xcape in Wayland
Stars: ✭ 91 (-6.19%)
Mutual labels:  keyboard
Keynode
Interactive Keyboard Controller for Swift
Stars: ✭ 76 (-21.65%)
Mutual labels:  keyboard
Arisu Case
Case design files for Arisu Keyboard
Stars: ✭ 83 (-14.43%)
Mutual labels:  keyboard
Neatinput
A .NET standard project which aims to make keyboard and mouse input monitoring easy on Windows and eventually Linux.
Stars: ✭ 89 (-8.25%)
Mutual labels:  keyboard
Globalhooks
Allows you to create global keyboard events
Stars: ✭ 74 (-23.71%)
Mutual labels:  keyboard
Hallelujahim
hallelujahIM(哈利路亚 英文输入法) is an intelligent English input method with auto-suggestions and spell check features, Mac only.
Stars: ✭ 1,334 (+1275.26%)
Mutual labels:  keyboard
Fx Experience
fx-experience -> fx onscreen keyboard
Stars: ✭ 72 (-25.77%)
Mutual labels:  keyboard
Audiokitsynthone
AudioKit Synth One: Open-Source iOS Synthesizer App
Stars: ✭ 1,258 (+1196.91%)
Mutual labels:  keyboard
Minikbd
Stars: ✭ 97 (+0%)
Mutual labels:  keyboard
Vehicle Keyboard Ios
停车王车牌号码专用键盘 - iOS
Stars: ✭ 96 (-1.03%)
Mutual labels:  keyboard
Awesome Mechanical Keyboard
⌨️ A curated list of Open Source Mechanical Keyboard resources.
Stars: ✭ 1,294 (+1234.02%)
Mutual labels:  keyboard

react-native-dismiss-keyboard CircleCi npm version Downloads

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

Deprecated for React Native >= 0.35

This module extracts code from an undocumented React Native feature. The reason I wrote it is that the import of the internal module failed after updating and in some specific setups. The feature is now documented in React Native and may be used directly with the React Native Keyboard API. If your React Native version is high enough I can only encourage you to use React Natives implementation.

Web Views

This module targets React Native Views, therefore the solution will not work in React Native Web Views. Please use an alternative solution in your Web Views Javascript.

Add it to your project

  1. Run npm install react-native-dismiss-keyboard --save
  2. To import the library choose one of these options
  • 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
>= 0.11 & < 0.23 < 1.0
>= 0.23 >= 1.0
>= 0.36 React Native Keyboard API

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.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].