-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
API: KeyboardBugComponent: KeyboardAvoidingViewComponent: ScrollViewRan CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
ScrollView bounces on input focus when using KeyboardAvoidingView when the following props used on ScrollView:
iOS only
automaticallyAdjustContentInsets={true}
contentInsetAdjustmentBehavior={'always'}
Full snippet:
<KeyboardAvoidingView
keyboardVerticalOffset={100}
style={[styles.container, {flex: 1,
}]}
behavior={Platform.select({ ios: 'padding', android: undefined })}
>
<ScrollView
automaticallyAdjustContentInsets={true}
contentInsetAdjustmentBehavior={'always'}
>
<TextInput style={{ height: 40, borderColor: 'gray', borderWidth: 1 }} />
</ScrollView>
</KeyboardAvoidingView>
Snack:
https://snack.expo.io/@arled/keyboardavoidview-bounce-on-input-focus
Metadata
Metadata
Assignees
Labels
API: KeyboardBugComponent: KeyboardAvoidingViewComponent: ScrollViewRan CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.