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

[SectionList] scrollToLocation scrolls past content on iOS #17479

Closed
Jpunt opened this issue Jan 8, 2018 · 3 comments
Closed

[SectionList] scrollToLocation scrolls past content on iOS #17479

Jpunt opened this issue Jan 8, 2018 · 3 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@Jpunt
Copy link

Jpunt commented Jan 8, 2018

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

Environment:
OS: macOS High Sierra 10.13.2
Node: 8.2.1
Yarn: 0.27.5
npm: 5.3.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003

Packages: (wanted => installed)
react: ^16.2.0 => 16.2.0
react-native: ^0.51.0 => 0.51.0

Steps to Reproduce

Implement a SectionList and use scrollToLocation to scroll to the last section.

Expected Behavior

It scrolls to the last section, while making sure it doesn't scroll past the content. On Android this works as expected:

screen shot 2018-01-08 at 11 54 05

Actual Behavior

On iOS scrollToLocation scrolls to far:

img_362ddaf36c23-1

This also introduces some weird issues when the user starts scrolling from there on.

Reproducible Demo

https://snack.expo.io/HJgTyClEG

@sahanay
Copy link

sahanay commented Jan 8, 2018

This would be very helpfull!

@react-native-bot
Copy link
Collaborator

Thanks for posting this! It looks like you may not be using the latest version of React Native, v0.53.0, released on January 2018. Can you make sure this issue can still be reproduced in the latest version?

I am going to close this, but please feel free to open a new issue if you are able to confirm that this is still a problem in v0.53.0 or newer.

How to ContributeWhat to Expect from Maintainers

@react-native-bot react-native-bot added 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. labels Feb 24, 2018
@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Feb 24, 2018
@Jpunt
Copy link
Author

Jpunt commented Feb 26, 2018

No, this is not fixed in 0.53. This is the new issue: #18098

@facebook facebook locked as resolved and limited conversation to collaborators Feb 24, 2019
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants