Jump to content
Search Community

Jhosep R

Members
  • Posts

    6
  • Joined

  • Last visited

Posts posted by Jhosep R

  1. Hello Community, 


    I'm trying to replicate this GSAP example with react, I manage to do the infinite loop, but the section change animation doesn't take me, do you know what it could be?


    I also want to add a menu that allows me to navigate between sections with a smooth scroll, it detects which section I am in but clicking on the menu option breaks the app. How can i fix this?

     

    https://codesandbox.io/s/gsap-react-project-p43gkw?file=/src/App.js

    See the Pen rNOebyo by GreenSock (@GreenSock) on CodePen

  2. Hola comunidad, hice un ejemplo de un elemento pin con gsap y reaccion, creo que lo hice bien, me gustaria saber si hay alguna forma de optimizar el codigo o si esta bien planeado, intente hacer un arreglo con utils para lograr el efecto del texto pero no lo conseguí, solo pude hacerlo usando cada componente individualmente, ¿es posible lograr ese efecto con "gsap.utils.toArray"?

     

    Caja de arena:  https://codesandbox.io/s/gsap-react-pin-scroll-24c7fc?file=/src/App.js

     

  3. Hello everyone, i try to make this example  in react js, but i don't understand why what I did does not work, I am applying what I saw in the documentation but it has not worked, I want to learn how to use this great tool but I have not been able to apply a more complex example in react js. I need some guidance, thanks. :')

     

    Here the code sanbox

    https://codesandbox.io/s/gsap-react-horizontal-scroll-mr4gb1?file=/src/App.js

    See the Pen mdrrbyo by oldskool123 (@oldskool123) on CodePen

×
×
  • Create New...