Skip to content

Added Fixes to useGsapTimeline.js to make animations smooth#6762

Merged
vr-varad merged 3 commits intolayer5io:masterfrom
SplinterSword:fixGsapAnimation
Aug 30, 2025
Merged

Added Fixes to useGsapTimeline.js to make animations smooth#6762
vr-varad merged 3 commits intolayer5io:masterfrom
SplinterSword:fixGsapAnimation

Conversation

@SplinterSword
Copy link
Copy Markdown
Contributor

…w the scroll

Description

This PR fixes #6481

Notes for Reviewers
I have made the changes to useGsapTimeline.js :-

I changed the value of scrub argument from true to 2 to make the animation smooth and then I changed the toggle actions to "play complete reverse reset" to make it follow the cursor properly.

Here is a video demo showing my changes :-

Scroll.Fix.mp4

Signed commits

  • [✅ ] Yes, I signed my commits.

…w the scroll

Signed-off-by: SplinterSword <sparshj2003@gmail.com>
@l5io
Copy link
Copy Markdown
Member

l5io commented Aug 28, 2025

🚀 Preview for commit 7017fa0 at: https://68b0391413578922891f89dc--layer5.netlify.app

Copy link
Copy Markdown
Member

@Rajesh-Nagarajan-11 Rajesh-Nagarajan-11 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@l5io
Copy link
Copy Markdown
Member

l5io commented Aug 29, 2025

🚀 Preview for commit 2dbf6ab at: https://68b19d405a9119968d9f8bc9--layer5.netlify.app

@vr-varad vr-varad merged commit c2349e5 into layer5io:master Aug 30, 2025
4 checks passed
@SplinterSword SplinterSword deleted the fixGsapAnimation branch September 19, 2025 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve Scroll-Based Animation Bugs on Kanvas Pages

5 participants