You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add transitions between page changes. Using react router v6. The new page animation works, yet, the pervious page disappears immediately. I don't see the exit animation happening. I want either the previous page to perform exit animation, or just the new page to animate over the old one.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
@hasanaktas, Thank you so much! This works great. I can now see the exit animation and after that there is the new page entry animation.
I wanted to ask if it is possible to start the entry animation before the exit is complete, such that the new page slides right over the old page. Thanks!
2. Describe the bug
I'm trying to add transitions between page changes. Using react router v6. The new page animation works, yet, the pervious page disappears immediately. I don't see the exit animation happening. I want either the previous page to perform exit animation, or just the new page to animate over the old one.
3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/s/react-framer-motion-page-transition-g1lisx?file=/src/index.tsx
4. Steps to reproduce
Steps to reproduce the behavior:
5. Expected behavior
I want either the previous page to perform exit animation, or just the new page to animate over the old one.
6. Video or screenshots
7. Environment details
React v18, React Router v6.
The text was updated successfully, but these errors were encountered: