Skip to content
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

Warning: moveSharedElement is required #21

Open
ghost opened this issue Nov 28, 2018 · 9 comments
Open

Warning: moveSharedElement is required #21

ghost opened this issue Nov 28, 2018 · 9 comments

Comments

@ghost
Copy link

ghost commented Nov 28, 2018

I'm getting a warning

Warning: Failed context type: The context moveSharedElement is marked as required in SharedElement, but its value is undefined.

when I use the SharedElement.. what value should I give to that property?

@nandorojo
Copy link

I'm also getting this.

@rahul13agrawal
Copy link

@xotahal are we going to get response?

@okechukwu0127
Copy link

Getting same issue.. No solution ?

@SamiChab
Copy link

Same here... Help please

@nandorojo
Copy link

nandorojo commented Mar 20, 2020

I recommend checking out this library: https://github.com/IjzerenHein/react-native-shared-element

I also wrote a guide: https://gist.github.com/nandorojo/e84e938568a018e044aadae9d64456ec

@SamiChab
Copy link

@nandorojo Thank you so much!! This library is also available for react-navigation v5: https://github.com/IjzerenHein/react-navigation-shared-element/blob/navigation-v5/README.md

@nandorojo
Copy link

Yup! Also, if you are looking to use react native web with react navigation, check out my library expo-next-react-navigation

@2xSamurai
Copy link

I recommend checking out this library: https://github.com/IjzerenHein/react-native-shared-element

I also wrote a guide: https://gist.github.com/nandorojo/e84e938568a018e044aadae9d64456ec

This one is good. I also managed to get it working. I wasted a lot of time to make 'react-native-motion' work. But I couldn't. Thankfully I came by your comment. Thanks again.

@nandorojo
Copy link

@2xSamurai Glad to hear it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants