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

[iOS][SectionList/FlatList] List sometimes broken when scrollTo invoked upon componentDidMount #15487

Closed
peterjuras opened this issue Aug 14, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@peterjuras
Copy link
Contributor

Is this a bug report?

Yes

Have you read the Contributing Guidelines?

Yes

Environment

  1. react-native -v: 0.46.1
  2. node -v: 8.1.4
  3. npm -v: 5.3.0
  4. yarn --version: 0.27.5

Then, specify:

  • Target Platform: iOS
  • Development Operating System: macOS
  • Build tools: CRNA (but also encountered the bug in normal react native project)

Steps to Reproduce

  1. Run the attached sample below on iOS.
  2. Refresh until bug occurs (~ usually < 10 refreshes)

Expected Behavior

List always renders all items correctly and scrolls to a list item around #80

Actual Behavior

List sometimes renders a blank screen and the list is broken. Scrolling will return to the first 10 list items, but the list will no longer render the other 990 items until another refresh.

You can check out this gif to see the bug in action.

Reproducible Demo

Please check out this CRNA sample to reproduce the bug:
https://github.com/peterjuras/rn-list-scrollTo-bug

@peterjuras peterjuras changed the title [iOS][SectionList/FlatList] [iOS][SectionList/FlatList] List sometimes broken when scrollTo invoked upon componentDidMount Aug 14, 2017
@peterjuras
Copy link
Contributor Author

Reopened #15697

@facebook facebook locked as resolved and limited conversation to collaborators Aug 29, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Aug 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants