-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Tailwind Plugin Broken in V4 #7661
Comments
Might be related to #6127 |
Hey @mhornbacher, we had the same issue and a very quick workaround for us was to copy the index.js of the plugin and import it locally. We only has to comment out the conflicting part in the plugin: react-spectrum/packages/tailwindcss-react-aria-components/src/index.js Lines 117 to 132 in 3e1c518
Can't say if this workaround works as effectively as the React Aria team initially intended, because these lines were responsible for adding such selectors to ensure only RAC components are targeted:
But it did fix our issues. |
Provide a general summary of the issue here
It seems that the :merge selector is no longer supported in V4 and is not included in the v4 docs.
tailwindlabs/tailwindcss#15617
🤔 Expected Behavior?
The plugin should not break the application when using peer selectors
😯 Current Behavior
The following error is thrown by Tailwind v4
💁 Possible Solution
No response
🔦 Context
No response
🖥️ Steps to Reproduce
https://github.com/mhornbacher/tailwind-repro
Version
tailwindcss-react-aria-components 1.2.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
MacOS
🧢 Your Company/Team
Kiddom
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: