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

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

Closed
wkl007 opened this issue Jan 4, 2024 · 3 comments
Closed

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

wkl007 opened this issue Jan 4, 2024 · 3 comments

Comments

@yangxiuxiu1115
Copy link
Contributor

yangxiuxiu1115 commented Jan 4, 2024

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

@baiwusanyu-c
Copy link
Member

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

@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants