vuejs / vue

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
http://v2.vuejs.org
MIT License
208.07k stars 33.69k forks source link

Some enter transition hooks doesn't work since 2.6.9 version #9745

Open MrSammet opened 5 years ago

MrSammet commented 5 years ago

Version

2.6.9

Reproduction link

https://jsfiddle.net/yyx990803/mwLbw11k/?utm_source=website&utm_medium=embed&utm_campaign=mwLbw11k

Steps to reproduce

If I set css animation on transition enter, it doesn't work. Leave transitions works well. For example open modal on https://vuejs.org/v2/examples/modal.html ... after click on Show Modal the enter animation doesn't appear. It causes after update from 2.6.8 -> 2.6.9 version.

What is expected?

CSS Transition on enter hook

What is actually happening?

Modal appear without enter transition

Justineo commented 5 years ago

Hi, please create a valid reproduction (probably a separate fiddle that shows the bug, without the need for further modification).

shasharoman commented 5 years ago

Add the appear attribute on the transition tag will be ok, and I think the content of this link needs to be updated according to this.

posva commented 5 years ago

@yyx990803 could you update the jsfiddle?