juliangarnier / anime

JavaScript animation engine
https://animejs.com
MIT License
50.45k stars 3.69k forks source link

anime transition conflict with css transtion #722

Closed hatem-mazid closed 3 years ago

hatem-mazid commented 4 years ago

animation doesn't run well if the element has a transition in css

maybe we should reset some css properties from JavaScript

Losses commented 4 years ago

Yep, you should avoid using JavaScript animation and CSS animation together if you don't know what ur really doing, same thing happens to anime.js.

I don't think this is a bug.

BawdyInkSlinger commented 3 years ago

I don't know if it's a bug, but I also don't know how to work around these issues. Some libraries use JavaScript animation. Others use CSS animation. Both can be extremely useful. How do I use both of them on one project?