Skip to content

Changing the key doesn't trigger moving animation in the TransitionGroup. #14862

@hadakadenkyu

Description

@hadakadenkyu

Version

3.6.0-beta.12

Reproduction link

play.vuejs.org/

Steps to reproduce

  1. press 'toggle expansion of first item' button under 'vapor mode'
  2. see item won't be animated
  3. press 'toggle expansion of first item' button under 'non vapor mode'
  4. see item will be animated

What is expected?

animation should be triggered

What is actually happening?

animation won't be triggered


I expected the transition to trigger when the key of an item in the v-for loop changed, but it didn't.
However, it worked as expected when I disabled Vapor Mode.
It also worked fine if the item inside the loop was a plain element instead of a component.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions