KeyboardAwareScrollView
ScrollView that effortlessly handles keyboard appearance, automatically scrolls to focused TextInput and provides a native-like performance.
Comparison
Current react-native ecosystem has a plenty of solutions that solves the problem of focused inputs being covered by keyboard. Each of them has its own advantages and disadvantages.
Below is a table with the most important functions and their support in various implementations:
| react-native-avoid-soft-input | react-native-keyboard-aware-scroll-view | react-native-keyboard-manager | react-native-keyboard-controller | |
|---|---|---|---|---|
| Respects keyboard animation | 🟠 1 | ❌ | ✅ | ✅ |
| JS implementation | ❌ | ✅ | ❌ | 🟠 2 |
| Reacts on focused input layout changes | ❌ | ❌ | 🟠 3 | ✅ |
| Reacts on focus changes | ✅ | ✅ | ✅ | ✅ |
| Reacts on selection changes | ❌ | ❌ | 🟠 3 | ✅ |
| Auto-scroll when user is typing and input in non visible area | ❌ | ❌ | 🟠 3 | ✅ |
| Android support | ✅ | ✅ | ❌ | ✅ |
| Maintained | ✅ |