Skip to content
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

transition 动画效果对于通过 vm 新增的数据不能正常执行 #2022

Closed
yangjunjun opened this issue Dec 14, 2015 · 0 comments
Closed
Labels

Comments

@yangjunjun
Copy link

对于通过 vm 新增数据, v-for 循环生成的元素中使用 v-showtransitionv-show 值为 false的元素,不能真正的隐藏。debug 发现, 元素的最终状态是 class="expand-transition expand-leave" 而不是 display:none. 没有 transition 的显示正常。

重现请看: http://jsbin.com/pecage/edit?html,js,output

另: v1.0.7 版本没这个问题, 之后的版本都有这个问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants