-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support v-show, to avoid missing @leave transitions #163
Comments
+1 I am animating a list of elements in and want to animate them out on click of a button, can't seem to trigger this if v-if unloads the elements before an animation can happen and v-show is not supported either. |
+1, |
Would you be able to provide a reproduction? 🙏 More infoWhy do I need to provide a reproduction?Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making. What will happen?If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect. If How can I create a reproduction?A link to a stackblitz project or public GitHub repository would be perfect. 👌 Please ensure that the reproduction is as minimal as possible. You might also find these other articles interesting and/or helpful: |
This issue was closed because it was open for 7 days without a reproduction. |
At its current state, vueuse/motion only seems to work on v-if, which creates problems for @Leave transitions, whenever its required to use a conditional on the component.
With v-if, a component/element is removed from the DOM as soon as the state changes. This happens before the @Leave has a chance to run.
If motion would support v-show, those issues would not happen.
The text was updated successfully, but these errors were encountered: