question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Transitioning.View children identity on Android

See original GitHub issue

The 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:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
wcandilloncommented, Jul 2, 2019

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.

0reactions
jakub-gonetcommented, Jul 28, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found