You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open it on Chrome, and no style set on class test but I have set it on Main.vue.
If I remove class="..." or remove v-if="f" on Test.vue then the class test will set..
Is it that I lost something to know in using <slot>?
Thanks.
What is expected?
No lost style.
What is actually happening?
No Style set on the first tag.
The text was updated successfully, but these errors were encountered:
Version
2.6.10
Reproduction link
https://codesandbox.io/s/vue-template-ptrum?fontsize=14
Steps to reproduce
When the parent style is scoped the
<slot>
will lost the style of the first tag if other tags on component has a selector with v-if.Example:
Main.vue:
Test.vue
Open it on Chrome, and no style set on class
test
but I have set it onMain.vue
.If I remove
class="..."
or removev-if="f"
onTest.vue
then the classtest
will set..Is it that I lost something to know in using
<slot>
?Thanks.
What is expected?
No lost style.
What is actually happening?
No Style set on the first tag.
The text was updated successfully, but these errors were encountered: