magicuidesign / magicui

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
https://magicui.design
MIT License
11.66k stars 458 forks source link

Shimmer button animation not working correctly when using "important" Tailwind setting #315

Open rafaponieman opened 2 months ago

rafaponieman commented 2 months ago

When theimportant setting is set ot true in the Tailwind config, Instead of going all the way around, the shimmer gets almost to the end and returns back. I tried tweaking the Tailwind animation settings but couldn't get it to work.

I know the important use case is not that common, in our case, we have to use it temporarily while Tailwind lives along another UI library we'll later drop.

Screencast_20240913_132316

Thanks a lot!

notREKASH commented 1 month ago

I tested the shimmer, and I couldn't reproduce the issue you're describing. Could you share your code so I can take a closer look? It's a bit challenging to identify the problem without seeing the actual implementation.