-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 in SVG animation #199
Labels
Comments
Thanks! You're awesome. This will be fixed in this week's release. Stay tuned. |
Thanks for the prompt response! I just started using Velocity for animating SVGs, and it's amazing how much faster it is than Snap. |
Maybe I should put that quote on the website :) |
Fixed. Please update Velocity and let me know if this issue persists. |
Rycochet
pushed a commit
that referenced
this issue
Aug 3, 2020
Switch “animating” indicator class to “velocity-animating”. Closes #194. Support for passing hex values into color properties. (Previously, you could only pass in individual RGBA components.) Closes #179. Fixes bug where slide functions wouldn’t reset elements’ height to auto. Closes #183. Support for getting border-color in Firefox. Closes #196. Fixes inability to animate `y2` on SVG elements. Closes #199. Allow passing in explicit `display: none` into an Out UI pack transition. Closes #201. Fixes vw/vh unit support for `translateX/Y`. Closes #181. Fixes bug where `delay` couldn’t be used with `stagger`. Closes #202. Thank you, @Guanche. Fixes bug where original call’s easing type wouldn’t be re-used for a `reverse` command.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The y2 property on an SVG line element doesn't animate correctly. The other properties work correctly - this is due to a typo here: https://github.com/julianshapiro/velocity/blob/master/jquery.velocity.js#L1056
The offending line:
should be:
(Note the
y1
->y2
at the end)The text was updated successfully, but these errors were encountered: