Closed
Description
The following code snippet
<ul v-if="posts.length > 0" v-cloak></ul>
<ul v-show="posts.length > 0" v-cloak></ul>
<ul v-cloak></ul>
produces such result
<ul v-cloak=""></ul>
<ul></ul>
<ul></ul>
And element remain hidden even when if="posts.length > 0"
became true
.
I expected v-cloak
to go away in all cases.
Is it by design (special use case with v-if
) ? I suppose it should be or fixed, or a warning added (about potential issue of v-if + v-cloak mixtures).