react-text-transition icon indicating copy to clipboard operation
react-text-transition copied to clipboard

Any idea on how to make the animation trigger on every state change?

Open rsa16 opened this issue 2 years ago • 0 comments

So I have a state I'm using to track whether my menu is open, and opening the menu causes the animation to appear. I tried to implement my transition in framer motion but couldn't quite figure it out. I also tried customizing the text transition code to not animate when the text was the same as the previous however my lack of knowledge of react-spring limited me and I was unable to get it to work. How should I go about this?

rsa16 avatar Jan 20 '23 06:01 rsa16