DevMonk
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by DevMonk
-
-
Hey Team,
We've been working with all GSAP modules for a long time and it's great. Love the additions and included types for Typescript support.
Today I've noticed that the minX/minY readonly properties are missing from the types in draggable.d.ts causing an error.
The maxX/maxY properties are there:
readonly maxX: number; readonly maxY: number;
Maybe we need to use other properties, but I've been using minX/minY for a long time already.
- 1
GSAP 3.11.0 - ScrollSmoother onUpdate returns a Tween instance in stead of ScrollSmoother
in GSAP
Posted
We've just updated to GSAP 3.11.0 and I noticed that the ScrollSmoother `onUpdate` function now returns a Tween instance in stead of a ScrollSmoother instance. This doesn't seem right and causes some functions to be unavailable now. See in the console:
See the Pen abYrBPW by ReneDrie (@ReneDrie) on CodePen