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
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
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