Skip to content

unexpected behaviour when using <transition> appear & mode attrib #4985

@newbie78

Description

@newbie78

Vue.js version

2.1.10

Reproduction Link

https://jsfiddle.net/pctmfmhe/1/ - a variant with css transition
https://jsfiddle.net/jz5rrgdk/ - a variant with js transition

Steps to reproduce

css: click run on jsfiddle
js: click any button in result pane

What is Expected?

css: not working appear attribute - does not work initial animation
js: not working mode="out-in" attr - after click the button disappears block in <transition> comp. if you remove this attribute then the block does not disappear but the animation (leave & enter) is triggered simultaneously.

What is actually happening?

this is my first app on vue. I don't know =)
I want to know is the problem in my code or is it a bug?
tnx

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions