UNPKG

react-native-keyboard-controller

Version:

Keyboard manager which works in identical way on both iOS and Android

42 lines (29 loc) โ€ข 1.74 kB
# react-native-keyboard-controller A universal keyboard handling solution for React Native โ€” lightweight, fully customizable, and built for real-world apps. Smooth animations, consistent behavior on both iOS and Android, with a developer-oriented design. <div> <img align="right" width="32%" src="./gifs/demo.png?raw=true"> </div> ### Key features - ๐Ÿงฌ Map keyboard movement to animated values - ๐Ÿงช `keyboardWillShow` / `keyboardWillHide` events now available on Android - ๐Ÿ”ฎ Change soft input mode on Android - โšก Preload keyboard to avoid first-time focus lag - ๐Ÿš€ Reanimated support - ๐Ÿ“ฑ Interactive keyboard dismissing ๐Ÿ‘†๐Ÿ“ฑ - ๐Ÿ“š Prebuilt components (`KeyboardStickyView`, `KeyboardAwareScrollView`, reworked `KeyboardAvoidingView`) - ๐Ÿ“ `KeyboardToolbar` with customizable _**previous**_, _**next**_, and _**done**_ buttons - ๐ŸŒ Display anything over the keyboard (without dismissing it) using `OverKeyboardView` - ๐ŸŽจ Match keyboard background with `KeyboardBackgroundView` - ๐Ÿงฉ Extend keyboard with custom buttons/UI via `KeyboardExtender` - ๐Ÿ“ Easy retrieval of focused input info - ๐Ÿงญ Compatible with any navigation library - โœจ More coming soon... stay tuned! ๐Ÿ˜Š ### Installation Check out the [installation](https://kirillzyusko.github.io/react-native-keyboard-controller/docs/installation) section of the docs for detailed setup instructions. ### Documentation Full API reference and guides available at: [https://kirillzyusko.github.io/react-native-keyboard-controller/](https://kirillzyusko.github.io/react-native-keyboard-controller/) ### Contributing See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repo and development workflow. ### License MIT