-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
test(TransitionGroup): test for TransitionGroup
#1269
Conversation
transitionNumber-- | ||
if (transitionNumber === 0) { | ||
;[enterFromClass, enterActiveClass, enterToClass] = originEnterClass | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For TransitionGroup
has more than one child nodes. Need reset class when last node transition end.
This solution can be work.Maybe has more better solution, but I just has this one.
<!-- return { toggle, click }--> | ||
<!-- }--> | ||
<!-- }).mount('#app')--> | ||
<!--</script>--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has confict with #1151
instance.vnode.el as Node, | ||
moveClass | ||
) | ||
) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This need check when every update triggle.Because maybe has dynamic name which has css transform.
Well. we can reset value of hasMove
when re-invoke render with returned by setup.But this can be more directly and clearly.
c78a193
to
9a2456f
Compare
28c8fb7
to
58f4533
Compare
No description provided.