How to use the react-native-keyboard-manager.setEnable function in react-native-keyboard-manager

To help you get started, we’ve selected a few react-native-keyboard-manager examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Kamahl19 / react-starter / rnmobile / src / index.js View on Github external
import { AppRegistry, Platform } from 'react-native';
import KeyboardManager from 'react-native-keyboard-manager';

import Root from './app/containers/Root';

AppRegistry.registerComponent('rnmobile', () => Root);

if (Platform.OS === 'ios') {
  KeyboardManager.setEnableDebugging(__DEV__);
  KeyboardManager.setEnable(true);
  KeyboardManager.setEnableAutoToolbar(false);
}

react-native-keyboard-manager

Library that allows to prevent issues of keyboard sliding up and cover on React-Native iOS projects. ⚛

MIT
Latest version published 5 months ago

Package Health Score

77 / 100
Full package analysis