react-native-input-scroll-view
react-native-input-scroll-view copied to clipboard
Setting topOffset requires setting keyboardAvoidingViewProps
When I set topOffset
to account for my navigation header, it seems like I have to also set the keyboardAvoidingViewProps
keyboardVerticalOffset
, or the ScrollView doesn't get short enough when the keyboard is open, for instance:
<InputScrollView
topOffset={headerHeight}
keyboardAvoidingViewProps={{ keyboardVerticalOffset: headerHeight }}
...
Seems like that should be handled internally?