-
Notifications
You must be signed in to change notification settings - Fork 41
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
easing bugs #18
Comments
Further to this, there is a bunch of code in easing.js that seems to want to create a JS-based animation, but then in Animate.js a css style animation easing style is passed. I am still learning React but I'd like to be able to have bezier easing so I've been trying to change it but it is not proving easy... |
I've managed to get bezier easing working in my fork, so I can write:
And it gets passed through to the graph components from recharts. I also had to change the PropTypes in recharts TreeChart.js to allow all strings, but I'll leave that as a local change for now... |
@Gazareth PR would be much appreciated. I'd like to use cubic-bezier as well, given that the docs say they support any CSS easing function. |
easing could be a function like |
like this
like this
The text was updated successfully, but these errors were encountered: