Replies: 2 comments 2 replies
-
What version of Edge are you using? You might want to double check the browser support: https://tailwindcss.com/docs/compatibility#browser-support Screen.Recording.2025-04-25.at.15.34.49.mov |
Beta Was this translation helpful? Give feedback.
2 replies
-
Yes, that was the problem. Before, the "scale-X" class was treated as a transformation, but now it is a separate property and needs to include "scale" among the "transition-properties", but that's HeroUI's matter. Thanks!!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What version of Tailwind CSS are you using?
v4.1.4
What build tool (or framework if it abstracts the build tool) are you using?
Next.js 15
What version of Node.js are you using?
v22.14.0
What browser are you using?
Edge
What operating system are you using?
Windows
Reproduction URL
Working animation: https://www.heroui.com/docs/components/button
No animation: https://beta.heroui.com/docs/components/button
Describe your issue
Before upgrading to tailwind4 the buttons had an animation when pressed, now the button continues to shrink but without the animation.
The buttons have the "transition-transform-colors-opacity" class. Before v4, that worked with the "scale-X" class, but now, it shrinks instantly.
So far I've managed to fix it by applying "transition-all" to all the buttons.
Beta Was this translation helpful? Give feedback.
All reactions