Cuberto / mouse-follower

A powerful javascript library to create amazing and smooth effects for the mouse cursor on your website.
MIT License
724 stars 60 forks source link

StateDetection property TypeError #4

Closed Giuseppetm closed 2 years ago

Giuseppetm commented 2 years ago

Hello, I encountered an issue with your library; the code I used is the most basic one to run an example.

import MouseFollower from "mouse-follower";
import gsap from "gsap";

MouseFollower.registerGSAP(gsap);
const cursor = new MouseFollower();

Versions with this problem: 1.0.4 to 1.0.6 1.0.3 and below work fine.

Error details

image

image

Environment details

Edge 101.0.1210.53 React 18.1.0 Gsap 3.10.3 (3.10.4 doesn't solve this) Sass 1.52.1

Drafteed commented 2 years ago

Hello! Thanks for the detailed report! Issue should be fixed in v1.0.7

Giuseppetm commented 2 years ago

Hello! Thanks for the detailed report! Issue should be fixed in v1.0.7

Yep, I confirm it's fixed. Thank you very much! 👍🏻