Skip to content
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

[v4] Custom keyframes are not generated if the value of an animation variable contains a line break between the keyframe name and duration #16227

Closed
ony3000 opened this issue Feb 4, 2025 · 1 comment · Fixed by #16237
Assignees

Comments

@ony3000
Copy link

ony3000 commented Feb 4, 2025

What version of Tailwind CSS are you using?

v4.0.3

What build tool (or framework if it abstracts the build tool) are you using?

Vite 6.0.5

What version of Node.js are you using?

v18.18.2

What browser are you using?

Chrome

What operating system are you using?

WSL

Reproduction URL

https://play.tailwindcss.com/PyXgGbc7uU?file=css

Describe your issue

If the keyframe name and duration are on different lines, the custom keyframe is not generated.

--animate-foo: <keyframe-name>
  <duration> <easing-function> <delay> <iteration-count> <direction> <fill-mode> <play-state>

If the keyframe name and duration are on the same line, the custom keyframe is generated.

--animate-foo: <keyframe-name> <duration>
  <easing-function> <delay> <iteration-count> <direction> <fill-mode> <play-state>
@RobinMalfait
Copy link
Member

Hey!

Thanks for the bug report, this is fixed by #16237 and will be available in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants