-
Notifications
You must be signed in to change notification settings - Fork 47
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 4 compatibility #811
Comments
@nmfirdausw thanks for the info! Yep, see the linked issue #783 with what is going on. We will investigate it once it gets closer to the release incase it's just a bug with Tailwind 4. |
@nmfirdausw If you want a quick and dirty fix while you're waiting, it can be done by publishing the select component and tweaking the following tailwind utility classes: options.blade.php
- <ui-empty class="data-[hidden]:hidden">{{ $empty }}</ui-empty>
+ <ui-empty class="data-hidden:hidden!">{{ $empty }}</ui-empty> option.blade.php
$classes = Flux::classes()
- ->add('group/option overflow-hidden data-[hidden]:hidden group flex items-center px-2 py-1.5 w-full focus:outline-none')
+ ->add('group/option overflow-hidden data-hidden:hidden! group flex! items-center px-2 py-1.5 w-full focus:outline-none') empty.blade.php
$classes = Flux::classes()
- ->add('data-[hidden]:hidden block items-center px-2 py-1.5 w-full')
+ ->add('data-hidden:hidden! block items-center px-2 py-1.5 w-full') |
@marksalmon Thanks. Will use that for a while. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue will house sub-issues related to Tailwind 4 compatibility
The text was updated successfully, but these errors were encountered: