Jump to content
Search Community

brunu

Members
  • Posts

    3
  • Joined

  • Last visited

brunu's Achievements

  1. yeah maybe that's just faster, I keep playing with it, thanks I'll refactor everything over here and in case I can't fix the hooks problem I can open another topic That's all I appreciate your help!
  2. The example I sent the animation seems to be more abrupt while mine seems to be more smooth with next section taking place gradually I see, thank you so much Getting advantage to ask, I tried that before, I was getting this error whenever calling the hook, any idea why? maybe this is a repository question, didn't bother to get help since working around it worked "gsap": "^3.12.5", "@gsap/react": "^2.1.0", "next": "12.0.1", "react": "^17.0.2", "react-dom": "^17.0.2",
  3. Hello Guys, first time playing around with Gsap and I'm stuck on creating a horizontal card, I've been trying for a while (that's why my code got messy) so I'll need a hand I tried to use the snap behavior but the card is not locking in where it was supposed to, it's skipping part of the next content, can someone help me with it? This is my code example: https://gsap-react-basic-f48716-pgxybg.stackblitz.io If possible, I'd like also to add a not smooth scroll just like this example https://codepen.io/GreenSock/pen/LYRwgPo?editors=1010, what should I do? Thanks!
×
×
  • Create New...