Skip to content

Transition Group Move Class doesn't work with display flex #4913

@ralphchristianeclipse

Description

@ralphchristianeclipse

https://jsfiddle.net/RalphChristianEclipse/z11fe07p/715/
#4900
i think this is the same issue ?

First the problem is move-class is not occuring when i remove an item that is my problem
Second i dont use the name attribute for doing enter or leave animations
cause i use animate.css for it

Please read carefully about this

I'm also reading the docs and all of it before posting

Vue.js version

2.1.10

Reproduction Link

Steps to reproduce

No Vue Components Used Steps:

  • Create transition group with display: flex
  • Create an array that will be used as a test
  • Assign card-move class to move-class of transition-group
  • Create a div element that uses v-for to list down all the test elements in array
  • Add a click event handler for removing an item

Vue Material Used Steps:

  • Create a transtion group with class md-layout
  • Create an array for test
  • Assign card-move class to move-class of transition-group
  • Create another md-layout inside the transition-group with md-flex-{type}="33"
  • Add a click.native handler for md-layout that removes items
  • create an md-card that uses v-for to list down the elements of the test array

What is Expected?

  • Smooth moving transition when changing positions

What is actually happening?

  • No Moving Transition happens

I'm also doing this with an empty array and firebase will push elements in realtime

The documentation states when items are in display: flex move-class will be appended when changes in array position happens or removals

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