Jump to content
Search Community

Alnat2

Members
  • Posts

    8
  • Joined

  • Last visited

Posts posted by Alnat2

  1. Thanks Zach, now it works well.

    After reading a few old forum`s discussions about changing easing for reverse(), 

    I wrote this code:

    onClick: function () {
        chair.reversed() ? chair.play() : chair.tweenTo(0, {onComplete: chair.reversed(true),ease:Bounce.easeOut});

    Is this code ok? Or after GSAP3 release, it can be implemented more easily?

  2. Hi @ZachSaucier, I don’t know what it depends on, but from time to time the animation stops starting when you click on one card and drag on another.

    In this video onClick doesn`t work https://res.cloudinary.com/alnat2/video/upload/v1597931019/c-dragworks-clicknot.mp4

    and onDrag doesn`t work https://res.cloudinary.com/alnat2/video/upload/v1597931019/c-clickwors-dragnot.mp4

    After reloading the page, the problem disappears.

     

×
×
  • Create New...