More examples with Reka UI #119
-
Hello, I'm trying to use Motion Vue with Reka UI components (Navigation Menu, Accordion, Dropdown Menu and more) and I'm having a hard time understanding when / where to use AnimatePresence alongside Motion and Reka UI components. Should Motion always be the first descendant of AnimatePresence? Qhen to use the multiple prop? I find the documentation has a lot of implicit knowledge that is not explained or linked to, so any example with Reka UI would be greatly appreciated! Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@lewebsimple In the latest version, the multiple prop has been removed. AnimatePresence now automatically looks for the nearest Motion component to trigger exit animations. However, the component to be removed must be a direct child of AnimatePresence. |
Beta Was this translation helpful? Give feedback.
-
We're currently migrating our documentation to motion.dev and will be releasing motion-vue examples in the next few days, including animations for common Reka components. |
Beta Was this translation helpful? Give feedback.
@lewebsimple In the latest version, the multiple prop has been removed. AnimatePresence now automatically looks for the nearest Motion component to trigger exit animations. However, the component to be removed must be a direct child of AnimatePresence.