Skip to content

animation with clearProps value of 'transformOrigin' clears entire transform #393

@tombigel

Description

@tombigel

the clearProps attribute in css plugin supports both camelCase and kebab-case attributes in it's list, but specifically transformOrigin doesn't work in camelCase, only in kebab-case.
Further more, if transformOrigin is present in the clearProps string it will be treated as if 'transform' was passed to clearProps.

GSAP 3.X
Demo:
https://codepen.io/tombigel/pen/RwrVVMg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions