react-navigation-shared-element icon indicating copy to clipboard operation
react-navigation-shared-element copied to clipboard

Trigger header element animation when moving screens from header

Open TheTimeWalker opened this issue 5 years ago • 1 comments

The issue right now is that any object that have a shared element must be in the same stack and appear between screen transitions. If you want to do fancier animation with objects from outside the stack, like headers (headerLeft, headerRight), it doesn't fire the functions needed to do this.

For example you have a profile picture in the header of the stack and when tapping on it, the profile pic resized to fit into a "User settings" screen. And if you press the back button the profile picture gest smaller and is in the header again.

Is it something that could be implemented somehow? A different library FluidTransitions had the option to implement something like this.

TheTimeWalker avatar Feb 20 '20 11:02 TheTimeWalker

+1

ridvanaltun avatar Feb 28 '22 07:02 ridvanaltun