Skip to content

A React Native hide keyboard module is for hiding and showing the keyboard without blurring the textInput component

License

Notifications You must be signed in to change notification settings

MuhammadRafeh/react-native-hide-keyboard

Repository files navigation

react-native-hide-keyboard (Android For Now)

A React Native hide keyboard module is for hiding and showing the keyboard without blurring TextInput component.

Installation

npm install react-native-hide-keyboard

or

yarn add react-native-hide-keyboard

Demo

Usage

import { hideKeyboard, showKeyboard } from "react-native-hide-keyboard";

// For hiding Keyboard
const isItHide = await hideKeyboard();
if (isItHide) {
    // Here Keyboard is hide without blurring textInput
}

// For showing keyboard
const isItShow = await showKeyboard();
if (isItShow) {
    // Here keyboard is active/displayed
}

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

About

A React Native hide keyboard module is for hiding and showing the keyboard without blurring the textInput component

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published