Closed hoangnhan2ka3 closed 6 months ago
@soranoo Something broke in both 2.2.11
and 2.2.11-beta.2
:
When I rollbacked to 2.2.10
, it's fine.
But the main problem of this issue is solved
I just discovered that if I change *
to an alphabetic form like img
, it works, it seems the problem here is just sth like: /\w+/
to /.+/
.
// not works ⛔
<div className="first:*:hover:rotate-180 last:*:hover:opacity-100"></div>
// works ✅
<div className="first:img:hover:rotate-180 last:img:hover:opacity-100"></div>
Just try in my repo, cuz img:
is my custom children selector
, not Tailwind's official.
Tested with v2.2.10
Type
Checklist
Environment
Describe the bug Problem with three
:
in a className, eg:To Reproduce Steps to reproduce the behavior:
Try to obfuscate the following className.
Expected behavior
Screenshots
hover
is not a single class here, this bug only occur with three:
classNames.Config
Related files
Raw: 748204b435cd75e5.css.txt
Obfuscated: 824c35810ca53037.css.txt
Demos (if any)
Additional context Add any other context about the problem here.