KeyboardAvoidingView

Learn how to prevent components from hiding beneath the virtual keyboard.

The KeyboardAvoidingView component in React Native prevents the current view of the application from hiding beneath the virtual keyboard. Without this component, if the user taps on an input field, the virtual keyboard will be opened and the input field will be hidden beneath it. Now the user won’t be able to see what and where they are typing. This creates a bad user experience.

Get hands-on with 1400+ tech skills courses.