We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
对于通过 vm 新增数据, v-for 循环生成的元素中使用 v-show 和 transition 且 v-show 值为 false的元素,不能真正的隐藏。debug 发现, 元素的最终状态是 class="expand-transition expand-leave" 而不是 display:none. 没有 transition 的显示正常。
v-for
v-show
transition
false
class="expand-transition expand-leave"
display:none
重现请看: http://jsbin.com/pecage/edit?html,js,output
另: v1.0.7 版本没这个问题, 之后的版本都有这个问题。
The text was updated successfully, but these errors were encountered:
d6ee905
No branches or pull requests
对于通过 vm 新增数据,
v-for
循环生成的元素中使用v-show
和transition
且v-show
值为false
的元素,不能真正的隐藏。debug 发现, 元素的最终状态是class="expand-transition expand-leave"
而不是display:none
. 没有transition
的显示正常。重现请看: http://jsbin.com/pecage/edit?html,js,output
另: v1.0.7 版本没这个问题, 之后的版本都有这个问题。
The text was updated successfully, but these errors were encountered: