Description
Version
2.3.3
Reproduction link
https://jsfiddle.net/ma7moudat/u82ugj8z/1/
Steps to reproduce
Set up a transition group that automatically rotates through a list of items and shows one item at a time (a slider if you will).
What is expected?
The last item disappears and the new item appears at the specified intervals.
What is actually happening?
Everything seems to be running perfectly fine, but if you leave the window for a minute or so (go to a new tab or another window) and then come back, the transition group becomes a mess, because the transition classes get added over and over without being removed from the items.
So you would get something like this!
<div class="item crossfade-enter-to crossfade-enter-to crossfade-leave-to crossfade-enter-to crossfade-leave-to crossfade-enter-to crossfade-leave-to crossfade-enter-to crossfade-leave-to crossfade-enter-to crossfade-leave-to crossfade-enter-to crossfade-leave-to crossfade-enter-to crossfade-leave-to crossfade-enter-to crossfade-leave-to .........">