Closed
Description
Version
3.0.4
Reproduction link
https://codesandbox.io/s/6jxsj?file=/src/App.vue
Steps to reproduce
Click on "Have Children" menu, it expands nicely with css transition but collapse will not transition in v3.0.4 while it works in v3.0.3.
What is expected?
Expand and collapse with transition effect.
What is actually happening?
Collapse transition is not working
I believe this is happening because v.3.0.4 is disabling the transition before nextFrame
in this merged PR #2597. I can see in dev tools that when the height is changed to "0px", transition-property: none
is applied to the element that removes transitions all together. As I commented in the reproduction code, adding a little delay with setTimeout
seems to work around the problem.
Metadata
Metadata
Assignees
Labels
No labels