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

default windi animation-iteration-count #1069

Closed
ameinhardt opened this issue Jun 6, 2022 · 0 comments · Fixed by #1070
Closed

default windi animation-iteration-count #1069

ameinhardt opened this issue Jun 6, 2022 · 0 comments · Fixed by #1070

Comments

@ameinhardt
Copy link

ameinhardt commented Jun 6, 2022

I'm using vue3 with windi-preset and animate-slide-in-left, animate-slide-out-left for a drawer, animate-slide-in-down / animate-fade-out for a toast, but the animation "flicker".
unocss sets animation-iteration-count: infinite by default (here?). Windi differentiates by animation instead.
See stackblitz example.
As a workaround, the non-looping animations need to have animate-count-1.
Is that worth fixing or maybe mentioning in the Readme is sufficient?

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.

1 participant