
Product
Introducing Reports: An Extensible Reporting Framework for Socket Data
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.
react-native-keyboard-avoiding-scroll-view
Advanced tools
React Native ScrollView extension that prevents inputs from being covered by the keyboard
React Native ScrollView extension that prevents inputs from being covered by the keyboard.
$ npm install react-native-keyboard-avoiding-scroll-view --save
Import KeyboardAvoidingScrollView, KeyboardAvoidingFlatList, or KeyboardAvoidingSectionList and use them like the regular ScrollView, FlatList or SectionList components from React Native core. Internally, these components are wrapped in another custom component called KeyboardAvoidingContainer, which is also exported for advanced use cases.
import {KeyboardAvoidingScrollView} from 'react-native-keyboard-avoiding-scroll-view';
function MyComponent() {
return (
<KeyboardAvoidingScrollView stickyFooter={<Button />}>
<TextInput />
<TextInput />
<TextInput />
</KeyboardAvoidingScrollView>
)
}
In addition to the regular ScrollView, FlatList or SectionList props, you can also provide the following props for extra customization:
stickyFooterUsed to display a persisted view under the scrollable content. Sticky footer is always shown above the keyboard, which could be the desired behaviour for a submit button.
| Type | Required |
|---|---|
React.ReactNode | No |
containerStyleUsed to style the container component.
| Type | Required |
|---|---|
StyleProp<ViewStyle> | No |
MIT License © Alka, Inc
FAQs
React Native ScrollView extension that prevents inputs from being covered by the keyboard
The npm package react-native-keyboard-avoiding-scroll-view receives a total of 1,061 weekly downloads. As such, react-native-keyboard-avoiding-scroll-view popularity was classified as popular.
We found that react-native-keyboard-avoiding-scroll-view demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.