Skip to content

css var got wrong scope id #2721

Closed
Closed
@yoyoys

Description

@yoyoys

Version

3.0.4

Reproduction link

https://github.com/yoyoys/repro-css-var-problem

Steps to reproduce

  1. just add css vars by SFC style CSS variable injection (new edition) rfcs#231
  2. got wrong id:(
    image

What is expected?

css var render with currect component id

What is actually happening?

css var render with wired component id


By the way, fragment also wired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions