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

[Bug] FlatList stops rendering items with Reanimated v2 installed. #2712

Closed
1 of 3 tasks
ammarahm-ed opened this issue Dec 8, 2021 · 3 comments
Closed
1 of 3 tasks
Labels
Bug Missing repro This issue need minimum repro scenario 🏠 Reanimated 2

Comments

@ammarahm-ed
Copy link

ammarahm-ed commented Dec 8, 2021

Hello, I have a FlatList rendering some items in my app. The does not use reanimated in FlatList. Yesterday I decided to upgrade from reanimated v1 to v2. Upon upgrading everything worked fine except FlatList not rendering any items at all. Rendering would work only if I would forcefully rerender the FlatList on state changes using the key prop.

I then reverted all the changes and downgraded back to v1 and everything worked as expected again.

Expected behavior

FlatList should render items properly.

Package versions

  • React Native: 0.66.3
  • React Native Reanimated: latest beta
  • NodeJS: 14.x
  • Java & Gradle: Gradle 6.9

Affected platforms

  • Android - Tested only on android
  • iOS - Not tested
  • Web - Not tested
@github-actions
Copy link

github-actions bot commented Dec 8, 2021

Issue validator

The issue is invalid!

  • Section required but not found: description(for label 🐞 bug)
  • Section required but not found: actual behavior & steps to reproduce(for label 🐞 bug)

@piaskowyk
Copy link
Member

Hey @ammarahm-ed, could you provide a repo to reproduce your issue?

@piaskowyk piaskowyk added the Missing repro This issue need minimum repro scenario label Dec 9, 2021
@ammarahm-ed
Copy link
Author

#2802 should fix this hopefully. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Missing repro This issue need minimum repro scenario 🏠 Reanimated 2
Projects
None yet
Development

No branches or pull requests

2 participants