Closed liho00 closed 8 months ago
hey @liho00, from the GSAP docs (enter that link and command + f "onRefresh"):
onRefresh
: A callback for when the a refresh occurs (typically a resize event) which forces the ScrollTrigger to recalculate all of its positioning.
Is this what you want? You may be looking for onUpdate
.