NextJS App Layout wont animate on exit but does animate on initial. #1614
Unanswered
ahmetskilinc
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I currently have a NextJS app with a layout(
MainLayout.tsx
) that wraps my views. The layout hasmotion.div
withinitial
,animate
andexit
on it withlayoutId="MainLayout"
.The
AnimatePresence
is on the_app.tsx
file withexitBeforeEnter
on it. However it will not animate before exit, it only does the initial -> animate part.There is no other
motion
element/component in my app.Beta Was this translation helpful? Give feedback.
All reactions