The element stays mounted until the leave transition has finished.