react-native-input-scroll-view icon indicating copy to clipboard operation
react-native-input-scroll-view copied to clipboard

Setting topOffset requires setting keyboardAvoidingViewProps

Open bmovement opened this issue 3 years ago • 0 comments

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?

bmovement avatar May 08 '21 16:05 bmovement