Framer Motion - Template.ts - Exit animation fails
Unanswered
Sander posted this in #help-forum
SanderOP
any idea how
example:
in the docs it mentions how exit animations can also work here but using framer motion the exit is never triggered
any idea as to why?
template.ts can allow you to do layout transitions?example:
<AnimatePresence mode="wait">
<BasicAnimation key={key} variants={slideRightVariant}> //simple motion.div with intial="initial" exit="exit" animate="animate"
{children}
</BasicAnimation>
</AnimatePresence>in the docs it mentions how exit animations can also work here but using framer motion the exit is never triggered
any idea as to why?