You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tinleym
changed the title
SVG stroke doesn't animate when target is a CSS Custom Property
SVG properties animate when target is a CSS Custom Property
Nov 4, 2021
tinleym
changed the title
SVG properties animate when target is a CSS Custom Property
SVG properties do not animate when target is a CSS Custom Property
Nov 4, 2021
tinleym
changed the title
SVG properties do not animate when target is a CSS Custom Property
SVG properties do not animate when target value is a CSS Custom Property
Nov 4, 2021
1. Describe the bug
SVG properties do not animate when target is a CSS Custom Property; animation seems to work fine when the value is hardcoded.
2. IMPORTANT: Provide a CodeSandbox reproduction of the bug
In the example below, hardcoded values work on SVGs where variables do not...
https://codesandbox.io/s/keen-resonance-5rovv?file=/src/App.js
3. Steps to reproduce
Steps to reproduce the behavior:
4. Expected behavior
The SVG properties should animate to CSS Custom Properties like they do for a hardcoded values.
5. Environment details
framer-motion 5.2.0 / Chrome 95.0.4638.69 / MacOs 11.4
The text was updated successfully, but these errors were encountered: