MorevM / vue-transitions

Interface transitions library for Vue 2/3
https://morevm.github.io/vue-transitions/
MIT License
198 stars 5 forks source link

Using class with tag prop #241

Closed ldiellyoungl closed 1 year ago

ldiellyoungl commented 1 year ago

Question

Can i use tag prop with class like this?

<transition-fade group tag="ul" class="flex">
   <a>test</a>
   <component/>
</transition-fade>
MorevM commented 1 year ago

Good day @ldiellyoungl ,

Sure you can. With Vue 2 it's always worked.

Using Vue 3 make sure you have a package with version >= 2.3.5 (latest version currently) to make it work. I just fixed this behavior a few days ago. You can find the details in this commit (commit has a description).

MorevM commented 1 year ago

Closing due to inactivity. Let me know if something is still not working.