Replies: 2 comments
-
Can anyone help me with this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I seems like I also struggle with this one. There's no information about animating routes in Remix docs and the example repo also doesn't work for me. I have installed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone!
This is my first time with Remix and also with Framer Motion so probably this is some silly question. I've tried to reproduce the Framer-route-animation example in a fresh indie-stack new project. But I'm not getting the same behavior as in the example. In my test I'm seeing how the new route is rendered before doing the page transition (with the new route) and then the enter animation with the same content.
This is a gif with the result:
As you can see the new route is rendered before doing the page transition. When I'm in the second note and I click in the first page, I can see how "Second note" changes to "First note" and then I see the transition.
The only thing I did to do this is to install framer-motion and then change the App component with this:
Please let me know if you know what I'm doing wrong (probably I'm missing something and it's a silly thing, but I didn't find it so far).
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions