Skip to content

Making a custom group-/peer- matchVariant() plugin breaks group-[]:/peer-[]: syntax #12131

@MichaelAllenWarner

Description

@MichaelAllenWarner

What version of Tailwind CSS are you using?

For example: v3.3.3

Reproduction URL

https://play.tailwindcss.com/0w4BOsCoTI

Describe your issue

Custom group-/peer- matchVariant() plugins break Tailwind's ability to correctly handle arbitrary-selector group-/peer- utilities.

A possible solution is to have this code run again after registering a user's custom plugins (but without the third argument to the matchVariant() call). That's how I hack around the problem in my projects at the moment, anyway.

Metadata

Metadata

Assignees

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