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

[Bug]: keyframes added with injectGlobal only contain the last keyframe #492

Closed
phaux opened this issue Oct 18, 2023 · 2 comments
Closed
Labels
🛑 Abandoned The issue or Pull Request will not be worked on 🐞 Bug Bug or Bug fixes

Comments

@phaux
Copy link

phaux commented Oct 18, 2023

Reproduction

https://stackblitz.com/edit/tw-in-js-twind-a1nbqx?file=index.js

injectGlobal`
.animate-test {
  animation: test 0.5s linear infinite;
}

@keyframes test {
  from, to {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}
`;
<div class="animate-test">Test</div>

Describe the bug

Look at animate-test class and test animation in Chrome devtools.

Severity

annoyance

System Info

{
  "@twind/core": "https://esm.sh/@twind/[email protected]?dev",
  "@twind/preset-tailwind": "https://esm.sh/@twind/[email protected]?dev"
}


deno 1.37.2

Additional Information

No response

@phaux phaux added the 🐞 Bug Bug or Bug fixes label Oct 18, 2023
@stackblitz
Copy link

stackblitz bot commented Oct 18, 2023

Fix this issue in StackBlitz Codeflow Start a new pull request in StackBlitz Codeflow.

@stale stale bot added the 🛑 Abandoned The issue or Pull Request will not be worked on label Jul 15, 2024
Copy link

stale bot commented Aug 14, 2024

Hey folks. This issue hasn't received any traction for 90 days, so we're going to close this for housekeeping. If this is still an ongoing issue, please do consider contributing a Pull Request to resolve it. Further discussion is always welcome even with the issue closed. If anything actionable is posted in the comments, we'll consider reopening it.

@stale stale bot closed this as completed Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛑 Abandoned The issue or Pull Request will not be worked on 🐞 Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

1 participant