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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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