[SectionList] scrollToLocation scrolls past content on iOS #17479
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
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 usescrollToLocation
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:
Actual Behavior
On iOS
scrollToLocation
scrolls to far:This also introduces some weird issues when the user starts scrolling from there on.
Reproducible Demo
https://snack.expo.io/HJgTyClEG
The text was updated successfully, but these errors were encountered: