Skip to content

[BUG] Trouble with rotate #1162

Description

@AndrewPixel
  1. I tried animate(elem, { rotate: { from: 90, to: 180} } ; . I cannot use either from or to with rotate without this error:

anime.umd.min.js:7 Uncaught TypeError: s.includes is not a function
at It (anime.umd.min.js:7:4450)
at new Re (anime.umd.min.js:7:24682)
at t.animate (anime.umd.min.js:7:107860)

  1. animate(elem, { rotate: 90 } and elem has the CSS rotate: 45deg you end up with the CSS rotate: 45deg; and transform: rotate(90deg); So elem is rotated 135deg instead of 90deg.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions