### Version 2.5.13 ### Reproduction link [https://jsfiddle.net/Akryum/aa6gqqkn/](https://jsfiddle.net/Akryum/aa6gqqkn/) ### Steps to reproduce Cancel a transition in the next frame. Example cancelling a fade-out transition: ```js 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: - https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/modules/transition.js#L152 - https://github.com/vuejs/vue/blob/dev/src/platforms/web/runtime/modules/transition.js#L260 <!-- generated by vue-issues. DO NOT REMOVE -->