jiayihu / ng-animate

🌙 A collection of cool, reusable and flexible animations for Angular 14+
https://jiayihu.github.io/ng-animate/
MIT License
721 stars 72 forks source link

Some animations do not have proper easing #22

Open coreyknapp opened 5 years ago

coreyknapp commented 5 years ago

For some animations (like slideIn), animate.css and ng-animate do not explicitly define which timing function to use. The CSS Transitions spec dictates that the default timing function used is "ease" (which is defined by the CSS Easing Functions spec as cubic-bezier(0.25, 0.1, 0.25, 1)) Angular, however, defaults to using no easing at all.

Additionally, lightspeedOut has 'ease-out' in ng-animate but 'ease-in' in animate.css. I'm not sure if there are more examples of this.