-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Custom animations with more than 1 animation separeted by commas dont work #5015
Comments
Relevant codepen with expected result |
@Timber1900 Sounds like same problem as mine #4711. Combined animations are not being processed ( intentionally ? ) due to which keyframes are ignored. I tried #4802 but closed due to inaction. Defining animation along with keyframes in CSS should work for now. |
I had a mistake in my reproduction repository and while I could have sworn it wasn't working when I created the issue as I was testing in another Tailwind Play it appears to now be working https://play.tailwindcss.com/5t0tNwzics I'll be closing this issue as the problem appears to have fixed itself. |
I'm reopening this issue because I found managed to reproduce the issue,
Therefore the issue is with tailwind not including the keyframes in the compiled css when the only animation using said keyframes includes multiple animations |
I'm seeing this issue too, keyframes are ignored when a |
@icidasset your workaround does help including keyframes but combined animations still does not work. Since |
Thanks for implementing @bradlc. |
Will be fixed in the next patch release, hopefully Monday or Tuesday 👍 Thank you! |
I'm still having the same problem. My version is |
Having the same problem here, Version |
Having the same problem here, 2022-01-10 |
Im also still having this problem, 2022-11-25 |
This looks still happen, especially using CSS modules: https://codesandbox.io/p/sandbox/css-modules-vczjci Is it valid to reopen this issue, to investigate? @adamwathan |
i am having this issue, 21-03-23 |
This is in fact still happening as of august 2023 |
What version of Tailwind CSS are you using?
v2.2.4
What build tool (or framework if it abstracts the build tool) are you using?
Next.js 11.0.1
What version of Node.js are you using?
v16.4.2
What browser are you using?
Chrome
What operating system are you using?
Windows
Reproduction repository
https://play.tailwindcss.com/si3enE3TvA
Describe your issue
On
tailwind.config.js
adding multiple animations makes the keyframes disappear from the styled component which makes the animation not work
The text was updated successfully, but these errors were encountered: