1,967 questions
0
votes
1
answer
101
views
ScrollTrigger not working after route navigation in Next.js (works on localhost, breaks in production)
I'm stuck with a weird ScrollTrigger issue in my Next.js app and could really use some help.
What's happening
I have a section on my homepage that uses GSAP ScrollTrigger to pin and animate when you ...
-2
votes
0
answers
58
views
GSAP animation , How to kill animations [closed]
So i just created some custom animations using GSAP , but in my opinion its not clean .the animations won't be killed after we progress to the next sections making the page slow i Don't know where or ...
0
votes
0
answers
28
views
What is wrong with this gasp animation code
I'm trying to create a vertical scroll animation with gsap but i seem to be having problems with the code. It is scrolling horizontally like i want it to but it only takes a second, which is too fast. ...
0
votes
0
answers
36
views
GSAP pin still causes vertical scrolling but horizontal scrolling to happen at the same time
I am currently creating a horizontal scroll, but the pin doesn’t seem to work. So when I scroll vertically, the page scrolls horizontally but still scrolls vertically at the same time. here's the ...
1
vote
2
answers
128
views
How can I create a navbar that is fixed at the bottom on the first page but becomes sticky at the top after scrolling?
I'm building a multi-section landing page using Next.js (App Router) and TailwindCSS, and I'm trying to implement a specific UI behavior for the navbar:
On the first viewport/page (Page 1), the ...
0
votes
0
answers
61
views
GSAP + SplitType + i18n text fails to update correctly after language change
I'm using GSAP with SplitType and a custom language switcher (en.json, es.json) to translate my website dynamically.
Everything translates correctly except the .scroll-fade-text section — which uses ...
0
votes
0
answers
55
views
How to smoothly pin stacked panels using GSAP ScrollTrigger with clean transitions and sticky header behavior?
I'm using GSAP ScrollTrigger to create a scroll-driven layout where multiple panels are pinned one after another, stacking visually during scroll. There’s also a sticky header/navigation bar at the ...
1
vote
1
answer
101
views
3D animation of a book opening - unexpected rotation
I know I'm missing something with the rotation of the inside cover when the book is "clicked on" to open, but I am not seeing it.
The expectation is that when the book is clicked on, the ...
0
votes
1
answer
59
views
How to build a smooth animated filter section like this Nuxt.js/Vue.js website?
I'm trying to replicate the filter section from the top part of this website: https://kimeracorp.eu/
It has a smooth animation when toggling filter options, and the content adjusts dynamically. I ...
0
votes
3
answers
125
views
Circle Not Following SVG Path Correctly
I generated the SVG using Illustrator and am trying to add animation using the gsap lib.
I want to move the circle along the path, but it’s not aligning properly. I’m not sure where I’m going wrong.
...
0
votes
0
answers
85
views
GSAP ScrollSmother - migrate css sticky to pin
This is my section before scrollsmoother library:
<section class="history">
<div class="history__wrap">
<div class="history-text">
...
2
votes
1
answer
88
views
This code works, but the part after it is inaccessible (WordPress). I use a container named fullpage
i tried this and everything is working, except one issue that im trying to fix since days.
which is the after the last container that is snapped, my website doesnt scroll further, any other section ...
1
vote
1
answer
185
views
SVG Animation: Consistent "Flowing Fill" along path in variable-width shape (GSAP, clipPath, stroke-dashoffset)?
Hello Stack Overflow community,
I'm trying to create an SVG logo animation for my "MPLAY" logo where the fill color appears to "flow" or "draw" along specific predefined ...
0
votes
0
answers
59
views
Position: sticky is too glitchy on mobile view
I've been trying to put a cool scrolling animation, and it perfectly works for desktop view, but in mobile, the position sticky is not working properly, sometimes its glitching upwards, sometimes ...
0
votes
1
answer
74
views
How to create circular curtains animation using GSAP used in Facets of the Rhone Website?
I am wondering on what command was used in creating this animated circular curtains when scrolling down the website as shown in the video below using GSAP. It's been interesting to me and I wonder ...
0
votes
1
answer
56
views
Add card-frame image to a list when clicking on a card image
I am trying to make a deck builder where the user can click on a card and it adds the matching Card-frame to a deck list on the side in another container. Is this approach I have below the right ...
0
votes
0
answers
51
views
getting this error while navigating pages Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
I have a Next.js 15 app that uses GSAP in a horizontal scroll/pinning component. I am facing this error
Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node
...
2
votes
1
answer
101
views
There is a delay before performing a scroll to a section (GSAP)
I'm new to JS, especially working with gsap. I want to perform scrolling to certain sections via gsap ScrollTo. I want to make a smooth and not very fast scrolling. I also want to move elements in ...
0
votes
1
answer
91
views
Need Help Recreating Fluid Box Animation from Flecto.io/About
I’m trying to recreate the box animation from Flecto.io using GSAP in this CodePen: https://codepen.io/sleepylala/pen/raNWYJy
HTML CODE:
<body>
<div class="about-header">
...
2
votes
2
answers
96
views
Scroll Animation Works with Mouse Wheel but Auto-Scrolls on Laptop Trackpad
I have implemented a scroll animation where images and text change as the user scrolls. The scrolling behavior works perfectly when using a mouse wheel, but when I try to scroll using a laptop's ...
0
votes
0
answers
427
views
How to preserve mobile scroll inertia by using Lenis and syncTouch
I am currently working on a project, involving three.js, gsap and lenis.
I found a way to preserve 120fps on desktop and 60 fps on mobile, by using syncTouch: true from Lenis. This option stop the ...
0
votes
0
answers
86
views
How to make ReactBits Infinite Scroll finite and lock page scroll while scrolling the list?
I am using the ReactBits Infinite Scroll component in my React project, and I want to modify its behaviour so that instead of an infinite scroll effect, it behaves as follows:
When the user scrolls ...
0
votes
1
answer
241
views
GSAP scrolling within a container that has overflow hidden
I'm having trouble getting this section to do what I want. I'm brand new to gsap, so I'm sure I'm not even close...
Here's my codepen: https://codepen.io/mattmager/pen/WbemwmO
ScrollTrigger.create({
...
1
vote
2
answers
63
views
How to calculate the new transform origin when translate is applied
I've created a touch event to be able to zoom into an image, saved the x and y values in the touchstart
imageContainer.addEventListener("touchstart", function (event) {
event....
0
votes
0
answers
25
views
undersating page transition vs normal animations
Hello there I'm trying to understand the difference between page transition and normal page animations
I use next js with a package called next-transition-router to create a transition animation that ...