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

During the animation, the '-enter' and '-exit' class names were not removed

Open wyf1992 opened this issue 3 years ago • 0 comments

What is the current behavior?

When entering animation

<div  class="*-enter *-enter-active"></div>

When leaving animation

 <div  class="*-exit *-exit-active"></div>

The order of css class names is reversed, resulting in invalid animation

What is the expected behavior?

When entering animation

   <div  class="*-enter-active"></div>

When leaving animation

   <div  class="*-exit-active"></div>

wyf1992 avatar Nov 23 '22 08:11 wyf1992