Closed wongbsn closed 7 years ago
Ack, it's probably is this commit then https://github.com/cheapsteak/react-transition-group-plus/commit/ab508d6ee04ef5c66f3acfb901cf6f254abfbe5d
I'll roll that back
Was deferLeavingComponentRemoval true or false?
Ack, this was my bad, deferLeavingComponentRemoval
should not have defaulted to true
So sorry if this caused you any overtime
Published 0.4 with deferLeavingComponentRemoval
to false. Someone wanted deferLeavingComponentRemoval
so things that have a leave animation but don't disappear at the end could stay on screen until the next thing entered. This is a problem if nothing enters, or if the enter ends before the leave finishes
I might get rid of deferLeavingComponentRemoval
in the future as this isn't really "leaving" since it's hanging around after, should probably be handled by another mechanism
Thanks so much for the detailed error report btw
No worries, didn't do any overtime. Thank you for maintaining this awesome library!
I am currently experiencing some problems with components not leaving. The following scenarios will cause components to stay mounted. I think deferredLeaveRemovalCallbacks are not being called (didn't have this problem with version 0.1.5 which was the last version I used):