Nativebase logo
NativeBase
Data Display
Typography
Disclosure
Media and Icons
Others
KeyboardAvoidingView
Provides a view that moves out of the way of virtual keyboard automatically. It is a component to solve the common problem of views that need to move out of the way of the virtual keyboard. It can automatically adjust either its height, position, or bottom padding based on the keyboard height.
Example
Note: Please see the example in your mobile to observe the effect.
Playground
Props
children
Renders components as Box children. Accepts a JSX.Element or an array of JSX.Element.
Type: any
Quick Nav
Nativebase logo
MadeWithNativeBase