Subscribe on changes!

vue 3.3.9 :is() style result is not as expected

avatar
Jan 4th 2024

I think it meets expectations, like this playground. After enabling scoped, it should not affect the style of subcomponents.

avatar
Jan 4th 2024

I also think this is in line with expectations. In #8929, we have enhanced the :is and :where selectors. Currently, they are only valid within the current component scope, which is more in line with the document's definition of component scope style. https://vuejs.org/api/sfc-css-features.html#child-component-root-elements