A ScrollView component that handles keyboard appearance and automatically scrolls to focused TextInput. You can use the KeyboardAwareScrollView, KeyboardAwareSectionList or the KeyboardAwareFlatList components. They accept ScrollView, SectionList and FlatList default props respectively and implement a custom high order component called KeyboardAwareHOC to handle keyboard appearance. The high order component is also available if you want to use it in any other component. Import react-native-keyboard-aware-scroll-view and wrap your content inside it. First, Android natively has this feature, you can easily enable it by setting windowSoftInputMode in AndroidManifest.xml. The HOC can also be configured. Sometimes it's more convenient to provide a static config than configuring the behavior with props.

Features

  • Programatically scroll to any TextInput
  • Auto-scroll in TextInput fields
  • Programatically scroll to any position
  • Register to keyboard events
  • Android Support
  • Handles keyboard appearance

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow react-native-keyboard-aware-scroll-view

react-native-keyboard-aware-scroll-view Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of react-native-keyboard-aware-scroll-view!

Additional Project Details

Operating Systems

Android, Windows

Programming Language

JavaScript

Related Categories

JavaScript User Interface (UI) Software, JavaScript Hardware Platform, JavaScript Keyboards

Registered

2021-12-30