Skip to content

Cannot add Scene option 'tweenChanges' #1020

@misaka10032s

Description

@misaka10032s

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions