Skip to content

Transition-group mode is not supported #1619

Closed
@emileber

Description

@emileber

The following has no effect.

<transition-group mode="out-in">
...
</transition-group>

Also confirmed in the transition-group.js component source:

const props = extend({
  tag: String,
  moveClass: String
}, transitionProps)

delete props.mode

As Evan You said:

This is unlikely to happen due to the sheer complexity - it will likely introduce too much extra code for a relatively non-critical use case, and the behavior of the transition modes on multiple items can be vague and hard to define. Even if we were to implement it, we'd probably ship it as a separate plugin instead of as part of core.

I feel like this should be explicitly mentioned in the list transition documentation. It's easy to assume that it should work, but it won't.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions