Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot add Scene option 'tweenChanges' #1020

Open
misaka10032s opened this issue Mar 10, 2023 · 1 comment
Open

Cannot add Scene option 'tweenChanges' #1020

misaka10032s opened this issue Mar 10, 2023 · 1 comment

Comments

@misaka10032s
Copy link

misaka10032s commented Mar 10, 2023

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?

@WAGFS
Copy link

WAGFS commented May 4, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants