Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

Same Nested Magic Item on Three Screen #6

Open
Batuhan-Akkaya opened this issue Jan 26, 2019 · 2 comments
Open

Same Nested Magic Item on Three Screen #6

Batuhan-Akkaya opened this issue Jan 26, 2019 · 2 comments

Comments

@Batuhan-Akkaya
Copy link

I want to show the same item animated on three screen. I wrote simple code but there is logical error. The animations don't seem to make sense.

These is my code. Is there any wrong? Or there is another way? I've examined your all examples.

First screen:

1

**Second screen:**

2

**Third screen:**

3

@IjzerenHein
Copy link
Owner

Hi, well first of all, the first screen seems to be missing the MagicMove.View component. Some other things:

  • The id of a magic-move view should never change, you will get a log-message on that.
  • In the third screen you mis-typed useNativeDrive, should be useNativeDriver
  • Your image source in the third screen is also very strange

Try enabling the debug prop on the MagicMove.View component, this will log valuable information to the console

@Batuhan-Akkaya
Copy link
Author

Hi, ProductCard returns Magic.View component.

  • Yes i encountered this error. Therefore i used nested MagicMove.View. So result not good.

  • Also when i don't use useNativeDriver={false} i got warning: "Must be useNativeDriver={false}" on ios.

  • And i replaced it with <MagicMove.Image />
    Whatever i find another way. Thanks for answer.

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

No branches or pull requests

2 participants