Open thehatami opened 6 years ago
I'm also having the same issue. My animation can slide in but then doesn't slide out again.
@thehatami what i did is when the props has been changed, i userequestAnimationFrame
like this
onAnimateClick = val => {
this.setState({ currentSelectedAnimate: 'None' }, () => {
requestAnimationFrame(() =>
this.setState({ currentSelectedAnimate: val })
);
});
};
I hope it helps.
Please post context please @jaotors
Me too please fix it
after first fire, animation not repeat when prop changed. how can i do that?