NextJS App Layout wont animate on exit but does animate on initial. #1614
Unanswered
ahmetskilinc
asked this question in
Q&A
Replies: 2 comments
This comment was marked as spam.
This comment was marked as spam.
-
|
That's expected, learn more: vercel/next.js#42658 |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I currently have a NextJS app with a layout(
MainLayout.tsx) that wraps my views. The layout hasmotion.divwithinitial,animateandexiton it withlayoutId="MainLayout".The
AnimatePresenceis on the_app.tsxfile withexitBeforeEnteron it. However it will not animate before exit, it only does the initial -> animate part.There is no other
motionelement/component in my app.Beta Was this translation helpful? Give feedback.
All reactions