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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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