-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Error: <circle> attribute r: A negative value is not valid. #342
Comments
Looks like you're using an elastic easing, so animating to 0 means going negative at some point to create the bounce effect. Try with an other easing function. |
I'm using 'linear' easing. |
Hard to help you without a live example. |
https://codepen.io/riccardo051/pen/bKXjpg
|
@juliangarnier Hi, I have the same issue. It happens here when I try to animate r to 0, e.g. |
I've created PR for it #444 |
I'm trying to animate two circles using their attributes "ry" to make a blink of an eye effect. all works for me but when I'm opening console I've got error:
Error: attribute ry: A negative value is not valid. ("-3.3084371372080135")
The values I'm using in range [21, 0, 21]. What makes this error happen and how to fix it?
But when I'm using numbers in range [21, 5, 21] all works without any issues.
The text was updated successfully, but these errors were encountered: