Closed DoradoFlamingo closed 3 years ago
Hi DoradoFlamingo, thank you for finding this bug!
Since Vue 3 is still relatively new it looks like they are changing things fairly frequently. In this case it seems like they recently changed the way undefined transition props/attributes are handled in a way that causes the empty base props to override the AnimXYZ specific props. It was a simple fix on my end. You should be able to use the latest version of Vue 3 with the latest release of @animxyz/vue3
(0.6.0). Let me know if this still causes an issue for you and I will investigate further.
Hope you are enjoying our library and keep on animating!
Yep that did the trick, cheers! Your library has been super useful for prototyping site concepts 😁
I just noticed that trying to work with the elements is broken in the latest variant of Vue 3.1.1.
In 3.0.5 you can see the element working with
xyz-in
/out
classes, but with Vue 3.1.1 they seem to be overridden back to Vue's standard classes usingv-enter-from
/to
so the css animations do not work. If you write down the classes such asxyz-in
manually then the animations work nicely but defeats the purpose of working with Vue3.What I did to reproduce this:
npm init @vitejs/app