Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

🔩 Fix useGravity support for onFrame and onAnimationComplete

Compare
Choose a tag to compare
@parkerziegler parkerziegler released this 13 Jun 19:01

In this release, we expose the onFrame and onAnimationComplete APIs for the useGravity hook. These were accidentally missed in the v0.4.0 release 😱.

Fixed

  • Ensure onFrame and onAnimationComplete supplied to useGravity are picked up and applied in the lifecycle of an animation. PR by @parkerziegler here.

Diff