When using prefix the animations do not work #7480
Unanswered
juanca-expe
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I added a prefix in Tailwind v4 for my CSS classes, and installed the navigation-menu component with the prefix correctly, but the animations no longer work.
The problem is that shadcn is adding the prefix to older tailwind features, ignoring the new version 4.
For example:
Not working: ❌
hover:s:bg-accent
Working: ✅
s:hover:bg-accent
Will there be a fix for this soon?
Beta Was this translation helpful? Give feedback.
All reactions