Jump to content
Search Community

amsterdamAL

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by amsterdamAL

  1. Hi, im trying to convert an existing draggable codepen to work with react. But its not working. it only works when i swipe to the left or hit the prev button, swiping next doesnt work.  Also, it doesn't snap. I'm new to gsap and not sure where i'm going wrong. i omitted the timer to disable the automatic swiping to help troubleshooting.

     

    the codepen i'm trying to convert to react:

    See the Pen veyxyQ by osublake (@osublake) on CodePen

     

    See the Pen poZGgaj by ziploker (@ziploker) on CodePen

×
×
  • Create New...