Closed
Description
Version
2.5.13
Reproduction link
https://jsfiddle.net/Akryum/aa6gqqkn/
Steps to reproduce
Cancel a transition in the next frame. Example cancelling a fade-out transition:
this.show = false
this.$nextTick(() => {
this.show = true
})
What is expected?
The v-enter-to
or v-leave-to
classes are not added to the element.
What is actually happening?
The v-enter-to
or v-leave-to
classes are still added to the element despite the transition being cancelled.
Those lines should likely be put being a !cb.cancelled
guard: