[BUG] It isn't possible to animate the x
and y
coordinates of an SVG element using animate
#2596
Labels
bug
Something isn't working
1. Read the FAQs 👇
2. Describe the bug
It is not possible to animate the
x
andy
coordinates of an SVG element usinganimate
.3. IMPORTANT: Provide a CodeSandbox reproduction of the bug
https://codesandbox.io/p/sandbox/testing-framer-motion-forked-xpwzg4?file=%2Fsrc%2FApp.js
4. Steps to reproduce
Attempt to animate the
x
andy
properties of an SVG element directly, by usingx
andy
on the element.5. Expected behavior
The
x
andy
attributes should animate to their new values.The text was updated successfully, but these errors were encountered: