Skip to content

[v4] group-not-hover does not work #14910

@sntran

Description

@sntran

What version of Tailwind CSS are you using?

4.0.0-alpha.30

What build tool (or framework if it abstracts the build tool) are you using?

@tailwind/[email protected]

What version of Node.js are you using?

For example: v20.12.02

What browser are you using?

Chrome

What operating system are you using?

macOS

Reproduction URL

https://play.tailwindcss.com/oqdmmGAY2k

Describe your issue

On 4.0.0-alpha.28 (and also 4.0.0-alpha.29), I could use group-not-hover variant to style a child element when the parent is not being hovered. However, after upgrading to 4.0.0-alpha.30, that variant is no longer handled and @tailwind/cli will throw error when I @apply group-not-hover:text-red-100 in my CSS.

Probably related to #14743?

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