react-native-motion icon indicating copy to clipboard operation
react-native-motion copied to clipboard

Use React Navigation During Transition

Open masterbater opened this issue 6 years ago • 11 comments

Is it possible if you could do this with react navigation?

masterbater avatar Mar 27 '18 12:03 masterbater

I will probably write about it in a couple of days in this publication - https://medium.com/how-i-built-profitable-application-faster-than

Follow that ;)

xotahal avatar Mar 28 '18 04:03 xotahal

@xotahal now following. Very much looking forward to the article 👍

kylegillen avatar Mar 28 '18 21:03 kylegillen

What about wix react native navigation, will this work with that as well?

odesey avatar Mar 29 '18 12:03 odesey

Any update?

obetomuniz avatar Apr 02 '18 14:04 obetomuniz

Any update? Can you create a sample project? Thanks.

ducpt2 avatar May 15 '18 04:05 ducpt2

Doesn't look like we're going to get this write-up. There's a great alternative specifically with React Navigation integration: https://github.com/fram-x/FluidTransitions I have nothing to do with it, I just needed an alternative & it works well.

kylegillen avatar Jun 27 '18 19:06 kylegillen

Following up here again. Does this library work with react navigation, or should we just stick to FluidTransitions?

nandorojo avatar Dec 24 '18 23:12 nandorojo

Haven't seen a react navigation for a while but in theory, if you are able to turn off the "default animation" of React Navigation (which is usually a slide from the right/bottom) there is no problem with using it with the react navigation.

xotahal avatar Jan 16 '19 06:01 xotahal

Got it, thanks! In that case – is there a way to get the shared transitions in nested components?

For instance, if these are two screens in a navigator:

Screen 1 -> nested component -> shared component Screen 2 -> nested component -> shared component

Is there a way to get them to transition to each other? I couldn't get it to work when I tried it out. Perhaps it needs a higher order component the way redux's connect works?

Thanks again!!

nandorojo avatar Jan 20 '19 22:01 nandorojo

As long as the Shared Element is rendered on the screen there is no problem to clone it and move it to the destination.

xotahal avatar Jan 21 '19 05:01 xotahal

anyone have used this library with wix react native navigation?

ashokkumar88 avatar Aug 10 '19 07:08 ashokkumar88