-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
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
Transition move triggered by input model update #6489
Comments
The |
Following your suggestion @yyx990803 , wrapping the transition-group in a component doesn't seem to fix the problem http://jsfiddle.net/8zgakspv/67/ |
You misunderstood - what I meant is this: http://jsfiddle.net/yyx990803/8zgakspv/70/ |
Closing since I don't think there is an easy way to fix this - instead we should probably add a note about this caveat and workaround in docs. /cc @chrisvfritz |
Will do. 👍 |
Version
2.4.2
Reproduction link
http://jsfiddle.net/8zgakspv/49/
Steps to reproduce
What is expected?
The added item transition should be list-enter
What is actually happening?
The which is being added gets list-move transition applied
Looking a bit in the code it seems that the "move" transition is applied whenever the position of an element in the list changes
which is triggered upon update
which I assume is triggered by the input change which causes the transition group component to be updated
The text was updated successfully, but these errors were encountered: