Jump to content
Search Community

malux

Members
  • Posts

    1
  • Joined

  • Last visited

malux's Achievements

1

Reputation

  1. Hello, Using version 1.10.3 from CDN, I noticed a problem when changing tabs in all browsers. Here is the code : function display(callback) console.log('Start tween'); TweenMax.from($('#myDiv'), .5, {opacity: 0, top: "-200px", onComplete: myFct}); function myFct() { console.log('Tween completed'); callback(); } } Display function is called several times using timeout on callback. Sometimes when you're on another tab, "myFct" isn't called at the end of the tween so my loop of animation was stopped. Solved problem using 1.12.1 Thanks
×
×
  • Create New...