reactjs/react-transition-group

No transaction/animation in the end with turned on unmountOnExit prop

Andrew-Kovalenko opened this issue · 0 comments

What is the current behavior?

Currently I'm using Transition component with mountOnEnter={true}, unmountOnExit={true}. Entering transaction/animation works fine, but in the end component immediately unmounted without any transaction/animation

What is the expected behavior?

When in props became false end transaction/animation should be ended and only after it component will be unmounted

Could you provide a CodeSandbox demo reproducing the bug?

https://codesandbox.io/s/compassionate-sinoussi-n9tnfg?file=/src/App.js