Skip to content
This repository has been archived by the owner on Jul 27, 2021. It is now read-only.

Setting topOffset requires setting keyboardAvoidingViewProps #78

Open
bmovement opened this issue May 8, 2021 · 0 comments
Open

Setting topOffset requires setting keyboardAvoidingViewProps #78

bmovement opened this issue May 8, 2021 · 0 comments

Comments

@bmovement
Copy link

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant