The component that handles keyboard with ScrollView, it's make them work perfect
Installation can be done through npm
or yarn
:
npm i react-native-interaction-keyboard --save
yarn add react-native-interaction-keyboard
Import react-native-interaction-keyboard
and wrap your content inside
it:
import InteractionKeyboard from 'react-native-interaction-keyboard'
<InteractionKeyboard>
// your component
</InteractionKeyboard>
Prop | Type | Description |
---|---|---|
contentContainerStyle |
any |
These styles will be applied to the scroll view content container which wraps all of the child views |
scrollRefs |
Func |
Catch the reference of the ScrollView component |
usingScrollView |
boolean |
Disable/ enable ScrollView default is true |