Animation trigger on component unmount
jacobsmith opened this issue · comments
Hi, I have a feeling I'm missing something obvious, but I'm having trouble understanding how to animate an element when it unmounts. For example, I have a list view and when an item is marked off, I want to animate it away. All of the examples I see seem to fire immediately.
If you could point me a bit in the right direction, I'll gladly write up some more documentation and issue a PR for it to help others! Thanks!
animate-components
does all of its work in runtime and so it may be a little difficult to handle the animation when a component unmounts because it has a declarative api which means currently we cannot trigger an animation on unmount imperatively using this lib
. What do you think ?
I'll gladly write up some more documentation and issue a PR for it to help others! Thanks!
I really appreciate this! I'll look more into this problem this weekend (a little busy with some other project right now) !
Great, thanks for the feedback! I may try some things on the library myself, just wanted to make sure I wasn't missing something!
Oh! Let me know what you experiment with 😀