-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
fix(useCssVar): avoid untarget style pollution #4841
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
base: main
Are you sure you want to change the base?
Conversation
…nd writing CSS variables
does this mean there's no way to get back to the fallback? maybe we should just treat if the target is so we can just fallback when it is |
Yes, another issue is that when the target gets replaced, the new one might not have been rendered yet. |
…alue to a primitive boolean
… from element to null
What if v-if is then element = null, then targetHadValue = false use root? |
Before submitting the PR, please make sure you do the following
fixes #123
).Description
Additional context
fix: #4828