We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I try to animate the transform attribute of a svg element, I get a series of following error -
transform
anime.min.js:25 Error: <rect> attribute transform: Expected ')', "rotate(0 NaN NaN)"
My tween looks like -
anime({ targets: '#rect-top', x:[13, 0, 7, 1, -0.784, 0], y: [15, 4, 15, 1, 8.628, 0], width:[23, 54, 19, 55, 30, 49.5], transform: [ 'rotate(0 0 0)', 'rotate(0 0 0)', 'rotate(0 0 0)', 'rotate(0 0 0)', 'rotate(-30 14.215 10.88)', 'rotate(0 0 0)', ], })
I'm not sure why it thinks the 3rd value is NaN, even though the format is correct.
NaN
The text was updated successfully, but these errors were encountered:
https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/rotate https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/rotate3d
Sorry, something went wrong.
Will be fixed in next reelease. Related #119, #174
juliangarnier
No branches or pull requests
When I try to animate the
transform
attribute of a svg element, I get a series of following error -My tween looks like -
I'm not sure why it thinks the 3rd value is
NaN
, even though the format is correct.The text was updated successfully, but these errors were encountered: