Transitioning.View children identity on Android
See original GitHub issueThe identities of the Transitioning.View
children are stable on iOS and unstable on iOS. As result, if Transitioning.View
child is a ScrollView
or a PanGestureHandler
on Android, it stop working after the first transitions: the animations values don’t seem to be bound to it anymore.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Transitioning.View breaks on android when children ... - GitHub
I have a layout with three images and basically want to change the parent orientation from row to column, on IOS it works...
Read more >TransitionSet | Android Developers
A TransitionSet is a parent of child transitions (including other TransitionSets). Using TransitionSets enables more complex choreography of transitions, ...
Read more >How to use a ViewGroup as a shared element for a transition ...
Looking at ChangeBounds transition code it seems it uses setFrame() to directly adjust the bounds of the target element. That doesn't propagate ...
Read more >Continuous Shared Element Transitions: RecyclerView to ...
Setting up the transitions · We set a transition name on the image views by calling setTransitionName . This will identify the view...
Read more >A Deep Dive Into PageView In Flutter (With Custom Transitions)
This type takes a fixed list of children (pages) and makes them scrollable. PageView( children: <Widget>[ Container( color: Colors. pink , ),
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here is the snack of the example: https://snack.expo.io/@git/github.com/wcandillon/can-it-be-done-in-react-native:season2/safari-tabs In
Tabs.tsx
the<PanGestureHandler>
is a parent of<Transionning.View>
. If you make it as a children, it will still work great on iOS but break on Android after the first transition.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.