-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[bug]: Navigation Menu animation not working properly #6855
Comments
jamiebuilds/tailwindcss-animate#63 (comment) This user made a CSS first replacement for the plugin, in the meantime use this! @shadcn do you think it best to just add the animations to our globals.css and remove the need for tailwind-animate? @nordaun-development let me know if you have trouble setting this up, I was able to get animations working again |
Hello Jackson! i already have tailwindcss-animate in my globals.css however the there is still no transition between the two NavigationMenuContent.
If you have any idea what causes this issue i would much appreciate it. :) |
Check out this replacement for the package tailwindcss-animate https://github.com/Wombosvideo/tailwindcss-animate-v4 - its just a css file you can use |
Thank you so much! It finally works |
…rst approach Removes tailwindcss-animate package and associated imports Introduces a CSS-based approach for animations using custom properties and keyframes TailwindCSS v4.0 compatible replacement for `tailwindcss-animate`. @author Luca Bosin <https://github.com/Wombosvideo> Addresses shadcn-ui#6855
@nordaun-development can you reopen until we've figured out a solution |
Sure. Let me know if you figured out what was wrong |
tyty nothing wrong, just wanted to track the work if we need to remove tailwindcss-animate and use the CSS first approach |
Is anyone experiencing the similar animation problem with the accordion? |
@danielchungdev did you try the css first replacement? |
Yeah, I read the file and it seems that the animation for the accordion is not on the file |
Thank you, I had same issue, and this fixes it temporarily but I think it should imported as plugin. |
Describe the bug
When you hover to a another navigation menu trigger the menu content doesnt transition properly.
2025-03-04.15-01-32.mp4
Affected component/components
Navigation Menu
How to reproduce
Hover over a navigation menu trigger.
Hover over another navigation trigger next to it.
There is no longer transition between the two menus like there used to be before tailwind v4
Codesandbox/StackBlitz link
No response
Logs
System Info
Before submitting
The text was updated successfully, but these errors were encountered: