ScrollMagic
ScrollMagic copied to clipboard
Cannot add Scene option 'tweenChanges'
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?
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.