Skip to main content

KeyboardAwareScrollView

Example

import { KeyboardAwareScrollView } from '@lad-tech/keyboard-aware';
import { BottomComponent } from './Bottom';
import { Inputs } from './Inputs';

export const KeyboardAwareScrollViewWithBottom = () => {
return (
<KeyboardAwareScrollView
BottomComponent={<BottomComponent />}>
<Inputs />
</KeyboardAwareScrollView>
);
};

Props

ScrollView Props

Inherits ScrollView Props.

BottomComponent

Sticky to Keyboard BottomComponent

isEdgeToEdgeEnabled

Force calculation based on height. You need set this prop to true, if you use react-native-edge-to-edge or edgeToEdgeEnabled.

link