-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
peer-focus:peer-valid:*
generates wrong output
#4726
Comments
Ah good catch! Will try and take a look at this this week, PR welcome if anyone wants to try before I (or @RobinMalfait 👀) have time. |
Thanks for the bug report, but I think you might have a caching issue. This has already been fixed in v2.2.2. When I clone the repo I see this as a result: Some steps you can try to fix this:
Can you verify that this works for you? |
@RobinMalfait I did all the steps you’ve suggested and it turns out that the issue only persists in development ( |
@kripod thank you for testing things out. I can reproduce this issue in tests now, will report back here once I have a fix. |
What version of Tailwind CSS are you using?
v2.2.2
What build tool (or framework if it abstracts the build tool) are you using?
Next.js 11.0.0
What version of Node.js are you using?
v14.16.1
What browser are you using?
N/A
What operating system are you using?
macOS
Reproduction repository
https://github.com/kripod/next-starter-strict/blob/main/src/components/inputs/Input.tsx
Describe your issue
While trying to apply
peer-focus:peer-valid:border-blue-500
to avoid a precedence clash withpeer-invalid:border-red-500
, it turns out that the former generates the following input, which is invalid:Tailwind should generate something like below instead, making
peer-*
utilities composable:The text was updated successfully, but these errors were encountered: