Jump to content
Search Community

karpovsystems

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by karpovsystems

  1. After killing animation and setting a new style, the new animation starts from the wrong position

     

    Steps for reproducing:

    1. Create new tween let tween = TweenMax.to($test, 5, {x: 100});
    2. Kill the tween while animating tween.kill();
    3. Change target style $test.style.transform = 'translate3d(0,0,0)';
    4. Start new animation TweenMax.to($test, 5, {x: 100});

    See the Pen bGbKdjZ by karpovsystems (@karpovsystems) on CodePen

×
×
  • Create New...