Jump to content
Search Community

nzetala

Members
  • Posts

    2
  • Joined

  • Last visited

nzetala's Achievements

  1. Thx for the answer. Setting ScrollTrigger.normalizeScroll(true)Solved the problem.
  2. Hi everyone, I'm learning to use GSAP with React and I'm having a problem and I'd like to know how to solve it: The code sample below is a Scrollanimation animation with a pinned element. The .rightblock component of the animation is supposed to stay pinned when scrolling and this works fine when scrolling slowly but when scrolling fast, the component leaves its position and covers the other components for a few milliseconds and then jumps back to its position (which is very unpleasant to watch). Please note that this phenomenon is worse when the memory size of the .photo and the .frame is large. Link to code sandbox
×
×
  • Create New...