Skip to content

Reusable transitions with vue-router break in vue@2.1.6 (last one). Can reproduce. #4545

Closed
@zhenyong

Description

@zhenyong

My initial purpose is to make transition in vue-router/examples/transitions reusable.

Before change codes, transition works as a's expected:

  1. vue-router@2.1.1 + vue@2.1.6 👍
    Expected https://jsfiddle.net/feipigzi/uqotvzft/3/

Click /parent and /parent/foo , make slide left or right transition.

After make resuable, unexpected:

  1. vue-router@2.1.1 + vue@2.1.6 (resuable transition) 👎
    Unexpected: https://jsfiddle.net/feipigzi/uqotvzft/

And I try to use older version vue.js, work as expected

  1. vue-router@2.1.1 + vue@2.0.0-rc.4 (resuable transition) 👍
    Expected: https://jsfiddle.net/feipigzi/uqotvzft/2/

Increase version, unexpected again:

  1. vue-router@2.1.1 + vue@2.0.0-rc.5 (resuable transition) 👎
    Unexpected: https://jsfiddle.net/feipigzi/uqotvzft/1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions