formkit / auto-animate

A zero-config, drop-in animation utility that adds smooth transitions to your web app. You can use it with React, Vue, or any other JavaScript application.

Home Page:https://auto-animate.formkit.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong arguments order in AutoAnimationPlugin declaration

MBelniak opened this issue · comments

In https://github.com/formkit/auto-animate/blob/master/src/index.ts#L791 you can see the argument newCoordinates is before oldCoordinates, but in the 'remain' action the order is switched: https://github.com/formkit/auto-animate/blob/master/src/index.ts#L540