Replies: 1 comment
-
This is because of how css variables work: they depend of the tree structure. Please, next time consider using the forum, the Discord server or StackOverflow for questions. The rfcs repo is not for questions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I don't use
<teleport>
,State-Driven Dynamic CS
is very useful, but when I try to useState-Driven Dynamic CSS
to<teleport>
, I ran into a little problem. I have the same writing as the official website, but the CSS values do not take effect when I F12 to check the webpage. Below is the code snippet.Needless to say, this is the correct usage,but then look down.
This is using



<teleport>
below is the performance of the page.Next, f12 checks the page
What's the problem? I don’t seem to find this in the documentation. Is it because I wrote it wrong? Please help me to check it.
Beta Was this translation helpful? Give feedback.
All reactions