Skip to main content

KeyboardAwareScrollView

<KeyboardAwareScrollView>
<View>
<TextField placeholder="Input with scrolling" />
</View>
</KeyboardAwareScrollView>
APIThis is the list of additional props for the component

getTextInputRefs
function
​

Function that returns an array of TextInput refs

onScroll
function
​

Callback for scroll events

scrollToBottomOnKBShow
boolean
​

Whether to scroll to bottom when keyboard shows

scrollToInputAdditionalOffset
number
​

Additional offset when scrolling to input

startScrolledToBottom
boolean
​

Whether to start scrolled to bottom