This repository has been archived by the owner on May 11, 2023. It is now read-only.
🔩 Fix useGravity support for onFrame and onAnimationComplete
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
andonAnimationComplete
supplied touseGravity
are picked up and applied in the lifecycle of an animation. PR by @parkerziegler here.