Skip to content

ScrollView bounces on input focus when using KeyboardAvoidingView #26081

Description

@arled

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

issue

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions