Open posva opened 3 years ago
I've re-thought the question. Maybe my PR is not correct.
There are two effects in the queue
update
of Transitionupdate
of Foo.vue
After the queue is flushed, the animation takes effect.So skipping the update of Foo.vue is not correct. Maybe should delay updating Foo.vue after Transition has done.
Edit: delay updating Foo.vue seems not updated the DOM. I have started to believe this is not a bug.😓
Foo.vue will unmount without KeepAlive, so it will not update and the animation looks normally.
Version
3.1.1
Reproduction link
Playground
Steps to reproduce
What is expected?
It should transition from Foo Foo to Bar Bar and vice versa
What is actually happening?
It transitions from Foo Bar to Bar Bar and then Bar Foo Foo Foo