A React Native hide keyboard module is for hiding and showing the keyboard without blurring TextInput component.
npm install react-native-hide-keyboard
or
yarn add react-native-hide-keyboard
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
}
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT