Skip to content

[hidden] attribute not considered for display classes #9979

@andershagbard

Description

@andershagbard

What version of Tailwind CSS are you using?

For example: v3.2.4

Reproduction URL
https://play.tailwindcss.com/n31IueX1YJ

Describe your issue

This seems like a quite common issue, but I could not find any talks or issues about this.

I would expect display classes block, inline, flex etc. to remain hidden, if an element has a [hidden] attribute.

Correcting this would be a somewhat breaking change.

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