Style-vars-2 v-bind feature issue when using transition and v-if #3894
Labels
🔨 p3-minor-bug
Priority 3: this fixes a bug, but is an edge case that only affects very specific usage.
scope: sfc
scope: sfc-style-vars
Version
3.1.0-beta.7
Reproduction link
https://codesandbox.io/s/vue3-style-vars-2-issue-v-if-style-vars-binding-inside-transition-4qtf1
Steps to reproduce
Create the following component:
The transition content will be displayed one second after the component was created.
What is expected?
The HTML node (transition child) should contain the style variables.
What is actually happening?
The HTML node (transition child) doesn't contain the style variables so the component is not well displayed.
It doesn't work either with OptionAPI, neither with CompositionAPI.
DOM inspection:
The text was updated successfully, but these errors were encountered: