'@keyframes move': {
'0%': {
transform: 'translateX(0)'
},
'100%': {
transform: ({size}) => `translateX(${size}px)`
}
}
Doesn't seem to work.
In addition, when this didn't work in my React Component, it messed up other classes injection as well.
Lets see.
Btw. I am not sure one should do this anyways. keyframes should be actually static.
You can basically do the same using transform directly, without keyframes.
I simplified the code when posting the issue.
The keyframe actually does not change, because my props wont change. But it is important for it to be initially calculated from props
I see!
I'm running into this as well. I have a BarChart in a table, and I'd love for it to animate from 0 width to it's actual width (based on the value) on load. After that the transition takes over.
Thanks for the killer library.
Will be fixed soon.
Fixed and released in 7.1.2
Woohoo thank you!
Thanks for fixing the bug 馃憤
Most helpful comment
Fixed and released in 7.1.2