Jump to content
Search Community

Sameh_07

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Sameh_07

  1. 2 minutes ago, Cassie said:

    You're only adding slide 1 to the timeline.

    The component mounts - you add the animation for slide one, then on timeline complete you increment the item number but you don't actually add anything else to the timeline.

    It's just looping the one slide you've told it to animate.

    What I wanted to do is to repeat the same timeline but for the new slide, hoping that by then the ref would be updated.

    Is there something wrong with this logic?

    • Like 1
×
×
  • Create New...