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

v-data scoped tag is missing from child component #8581

Closed
Colory opened this issue Jun 15, 2023 · 2 comments · Fixed by #8593
Closed

v-data scoped tag is missing from child component #8581

Colory opened this issue Jun 15, 2023 · 2 comments · Fixed by #8593
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working

Comments

@Colory
Copy link

Colory commented Jun 15, 2023

Vue version

3.3.4

Link to minimal reproduction

https://play.vuejs.org/#eNrtVMFu2zAM/RVWGJAOqK1Dd/KcIMV23z7AF8emE82yJEh0giHIv4+SndXJ0O2way+GKfLxUST1zuLFufw4oihEGRqvHEFAGt2mMmpw1hOcwWMHF+i8HWDFoavKAMzOrzjY2ZPLaMRcHFCZxppAYHtYR/xjV+uAHytTyomF87NBODhdE7IFUO5GImtg22jV9OtKJPCD7SuxCSdFzaGUU0gMLxN1o+sQ1qu9x5pWUNgJVgmQHFPKRX42A/3UCKGxDtvEmCccnOM/wPTd1U2/93Y0bcGFt5/j6SXVHdEb8SSmq2dD7fIfwRruXEpQzY5QieJ3SsHtiHYlDkQuFFKOxvX7vLGD3LJP+tGQGjBr7bB9zp/zT7JVgZbHOYYh23l7CuiZsBJPi9ySD4/oM4+mRY/+r1x3sUu+O9cfnHMXLnz965Tjxiz7S+VDlgEw24CG4MB54KS0Buw6bAjocO09KMNeRQBZFsf0xQ4OjpnqrsM7ZjtlWrY+1ESe6dO0Dqi1TYsiI+K/ON+R/0Jym+e5IL/cN0YCcLJetzdDuXl1N5oCujZ7ThGfSIIvhCRxXYUkGrOQTEEtdsrgN0eKVeVxflxzvS+xngKSwKQ1ZZV5xXz31oVyRti+gJ21GusUcdk8LhWJd/tKfLfbZauOqWBlgmoTSxm0paQy8eqT/+2bb15JLr8Apv7ZNA==

Steps to reproduce

sfc playground

What is expected?

when click the switch button, the background should be the same color.
but when i add some comment before.v-if directived component.
the bg color will not be effected by the scoped class 'great'.

What is actually happening?

add the comment before first child component.

System Info

vue 3.3.4

Any additional comments?

No response

@edison1105 edison1105 added 🐞 bug Something isn't working 🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. labels Jun 17, 2023
@phonty29
Copy link

It changes color no matter is comment there or not

@edison1105
Copy link
Member

It changes color no matter is comment there or not

The root cause is the scopeId is missing

@github-actions github-actions bot locked and limited conversation to collaborators Jan 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🔨 p3-minor-bug Priority 3: this fixes a bug, but is an edge case that only affects very specific usage. 🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants