Version: 3.0.3

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#

Props#

Name Type Description Default
children any Renders components as Box children. Accepts a JSX.Element or an array of JSX.Element. -

KeyboardAvoidingView implements View, ColorProps, BackgroundProps, LayoutProps, FlexProps, PositionProps, BorderProps, ExtraProps, OutlineProps, ShadowProps, SafeAreaProps, TransformProps, PlatformProps