Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScrollView bounces on input focus when using KeyboardAvoidingView #26081

Closed
arled opened this issue Aug 16, 2019 · 3 comments
Closed

ScrollView bounces on input focus when using KeyboardAvoidingView #26081

arled opened this issue Aug 16, 2019 · 3 comments
Labels
API: Keyboard Bug Component: KeyboardAvoidingView Component: ScrollView Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@arled
Copy link

arled commented Aug 16, 2019

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

@arled arled added the Bug label Aug 16, 2019
@arled arled changed the title Weird interaction between ScrollView and KeyboardAvoidingView ScrollView bounces on input focus when using KeyboardAvoidingView Sep 9, 2019
@react-native-bot
Copy link
Collaborator

Thanks for submitting your issue. Can you take another look at your description and make sure the issue template has been filled in its entirety?

👉 Click here if you want to take another look at the Bug Report issue template.

@react-native-bot react-native-bot added Ran Commands One of our bots successfully processed a command. Resolution: Needs More Information labels Sep 9, 2019
@stale
Copy link

stale bot commented Dec 8, 2019

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 8, 2019
@stale
Copy link

stale bot commented Dec 15, 2019

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information.

@stale stale bot closed this as completed Dec 15, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Dec 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
API: Keyboard Bug Component: KeyboardAvoidingView Component: ScrollView Ran Commands One of our bots successfully processed a command. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants