ScrollMagic icon indicating copy to clipboard operation
ScrollMagic copied to clipboard

Cannot add Scene option 'tweenChanges'

Open misaka10032s opened this issue 1 year ago • 1 comments

When using Vue router, I go to another page then go back, the "ScrollMagicPluginGsap" function called again and got error: [static] ScrollMagic.Scene -> Cannot add Scene option 'tweenChanges', because it already exists."

Can you provide a method to check if "ScrollMagic" has option like ScrollMagic.hasOption or not to generate error log?

misaka10032s avatar Mar 10 '23 02:03 misaka10032s

When I use Vue router, I go to another page then go back, the "ScrollMagicPluginGsap" function called again and I get error: [static] ScrollMagic.Scene -> Cannot add Scene option 'tweenChanges', because it already exists."

Can you provide a method to check if "ScrollMagic" has option like ScrollMagic.hasOption or not to generate error log?

Is there a solution now? I also encountered this problem.

WAGFS avatar May 04 '23 03:05 WAGFS