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

[BUG] It isn't possible to animate the x and y coordinates of an SVG element using animate #2596

Open
ccapndave opened this issue Mar 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@ccapndave
Copy link

1. Read the FAQs 👇

2. Describe the bug

It is not possible to animate the x and y coordinates of an SVG element using animate.

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 and y properties of an SVG element directly, by using x and y on the element.

5. Expected behavior

The x and y attributes should animate to their new values.

@ccapndave ccapndave added the bug Something isn't working label Mar 26, 2024
@MrUltimate
Copy link

+1

@mattgperry I'm facing this issue as well. This seems to have broken with v11 since my old prod site on v10 is still working. Interestingly for me, the animation is only working on exit. Initial → Animate is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants