vueuse / motion

🀹 Vue Composables putting your components in motion
https://motion.vueuse.org
MIT License
2.27k stars 79 forks source link

fix: transition `onComplete` triggers after each property animation #189

Closed BobbieGoede closed 4 months ago

BobbieGoede commented 5 months ago

πŸ”— Linked issue

❓ Type of change

πŸ“š Description

During work on #188 I ran into two issues which made it difficult to test variants using the transition onComplete function:

This PR expands on #188 by fixing those issues (so that PR description still applies), I created this separate PR because it touches on more than just the tests.

πŸ“ Checklist

rylanharper commented 4 months ago

I don't think this ever got pushed to the latest version?