Hello! I have an issue with ScrollTrigger; I want to pin the container on scroll to start with (then I will animate some elements). I have done this in several projects with the same code (same imports and same structure), but in this particular project, it doesn't work. In fact, the container just "jumps" instead of following the scroll. Do you see anything in the provided code that could help me? Thanks! (I wasn't able to get the CodePen preview to work, but here is the link for the CSS + JSX, and I'll also include a video to show the current result.)
"dependencies": {
"@gsap/react": "^2.1.1",
"gsap": "^3.12.5",
"next": "^13.5.6",
"react": "18.2.0",
},
ScrollTrigger.mp4