ScrollMagic icon indicating copy to clipboard operation
ScrollMagic copied to clipboard

Bug: TweenMax.from()/.staggerFrom() etc. are broken when destroying controller

Open VIPStephan opened this issue 5 years ago • 2 comments

I think I found a bug. If a GSAP “from” function is being used (e. g. TweenMax.from()), whenever a controller is destroyed and then recreated, the animation doesn’t work anymore. Example: http://jsfiddle.net/fq8Lsw7v/1/

Click “create” and “destroy” at free will and try it. Feel free to change TweenMax.from to TweenMax.to and see how it always works.

VIPStephan avatar Sep 12 '19 16:09 VIPStephan

same issue

pixels-aromates avatar Dec 12 '19 16:12 pixels-aromates

I got around my issue with fromTo @VIPStephan

pixels-aromates avatar Dec 12 '19 16:12 pixels-aromates