Repository navigation
Has anyone figured out how to do page transitions with <AnimatePresence> in Next 13. #1775
Unanswered
williamlmao
asked this question in
Q&A
Replies: 3 comments 4 replies
|
@williamlmao Yes we're doing this, see #1771 This should work in other frameworks besides Next as well, just keep in mind that _app is a top-level page wrapper in Next.
Using this technique we're able to overlap pages. The post I mentioned above is asking whether there's any standard way to reset scroll during this kind of transition, something we solved on our own. Hope this helps you and others! ✨ |
2 replies
|
I'm having the same issues. I tried your solution, but exit animations still seem broken... |
0 replies
|
Has you guys found a way? |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm not sure if this is even possible, but I'm trying to recreate page transitions in Next 13.
I've tried wrapping around {children} inside of /app/layout.ts, but that doesn't seem to work. I can't really put in my /app/page.ts because it is a server component and I have to keep it that way because of async child components.
Would love to hear if anyone has found other solutions for this! Thanks.
All reactions