-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Transitioning inside FlatList behaves differently on Android than on iOS #257
Comments
I'm experiencing a similar problem. It seems that flex dimensions changes are not properly updated on Android. Here's a simple toggle in which flex changes from 0 to 1:
|
+1 |
This seems like a bug in Transitions on Android. We should be able to take a look at it some time soon. Thanks for reporting! |
Hi, I am experiencing the same issue. It works perfectly on iOS but on Android not. The position of many elements is wrong and when we re-order the Flatlist then all the height of the rows are wrong. |
Just checking in on the progress for this, thank you! |
We discussed Transitions internally in our team. Considering that v2 makes creating animations easier and Transitions was an experimental API for a long time, we decided to leave Transitions as they are. We won’t actively fix bugs in them, but we’ll happily merge any PR with fixes. We’re also thinking about rewriting Transitions in v2 sometime in the future. I’m closing this issue, but if you have further questions, I will be happy to help. |
@jakub-gonet thanks for the heads up. It would be amazing to still have transitions in Reanimated 2. It's a great API for difficult animations, such as dynamic height changes, accordions, and rearranging a list of items. It's nice to be able to toss the transitioning view component in, and boom, UI changes look nice. The Thanks for the great work! |
Hey!
I noticed that transitioning inside a FlatList behaves different on Android than on iOS. On iOS the content in the list is pushed down, but on Android it is not.
Are there any solution for this problem or is there maybe a different way on achieving the same thing.
The code looks something like this:
iOS
Android
The text was updated successfully, but these errors were encountered: