Skip to content

False positive "Unused CSS selector" on :global():has() #14910

Closed
@7nik

Description

@7nik

Describe the bug

Selector like :global(.parent):has(.component), which points to an external element but also refers to a component's one, is marked as unused.

Reproduction

Example version 5.16.2

Logs

No response

System Info

Version 5.16.2

Severity

annoyance

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