Jump to content
Search Community

leandronn

Members
  • Posts

    3
  • Joined

  • Last visited

leandronn's Achievements

  1. Thank you so much for your time! If I found something, I'll post it for fellow devs.
  2. Hi Rodrigo. Thank you for your answer and time. At first I thought this was something related with snapping. But if you remove the gasp animations on the component, it does not happen. That’s why I think it has some relation to gasp.
  3. Hi everyone. I'm kinda new to gsap. So, apologies if this is not a gsap problem. I'm trying to create an effect (exampled here) of the sections snapping and pinning. Using react. It was going great until I tried to animate some of the section contents. These are the concerns: 1. If the animation isn't finished, and I scroll, then I can't go "back" to the previous section (happens on the first one as the next question explains why I haven't animated the following sections) 2. How should I do to wait until the "snapping" has happened to start animating the content of the section Here's a codesandbox (Codepen did not let me create the react project) that shows the problem. To replicate it, as soon as the animation starts, scroll down. don't let it finish. Then, try to go up. CodeSandbox Thanks in advance.
×
×
  • Create New...