Skip to content

First enter doesn't trigger transition #3559

@Leopoldthecoder

Description

@Leopoldthecoder

Vue.js version

2.0.0-rc.4

Reproduction Link

https://jsfiddle.net/uur9e91L/1/

Steps to reproduce

Click the toggle button

What is Expected?

On first click, the content fades in.

What is actually happening?

On first click, the content doesn't fade in. It only fades in/out on the following clicks.

This only happens when the content is controlled by both v-if and v-show. But in Vue 1.x, it works fine as shown in this demo

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