react-flip-toolkit icon indicating copy to clipboard operation
react-flip-toolkit copied to clipboard

Entering elements do not have onAppear called when the flip animation is interrupted by another update

Open kelleghan1 opened this issue 3 years ago • 0 comments

Thanks for the great package. I am wondering about the expected behavior for entering elements that trigger a flip animation which is then interrupted by more entering elements. Is it expected that the onAppear callback is canceled for interrupted flip animations? I have a simple onAppear function which fades the element in by adding a class, but if the flip animation is interrupted then the entering element just appears with full opacity and onAppear is only called for the most recent entering element. Thanks

kelleghan1 avatar May 08 '22 14:05 kelleghan1