Skip to content

Transition group with dynamic name not correctly applying transition #6006

@mcmillenb

Description

@mcmillenb

Version

2.3.0

Reproduction link

https://jsfiddle.net/oyf86mcp/

Steps to reproduce

  1. Run the fiddle
  2. Uncheck the checkbox
  3. Click "Shuffle" button
  4. Check the checkbox
  5. Click "Shuffle" button

What is expected?

After first "Shuffle" click (with an unchecked checkbox), list items are reordered with no transition animation.

After second "Shuffle" click (with a checked checkbox), list items are reordered with a transition animation.

What is actually happening?

After first "Shuffle" click (with an unchecked checkbox), list items are reordered with no transition animation.

After second "Shuffle" click (with a checked checkbox), list items are still reordered with no transition animation.


Found via this question on StackOverflow:
https://stackoverflow.com/questions/44850588/disable-transition-animation/44851948#44851948

If the list is shuffled before initially unchecking the checkbox, everything works as expected. I'm only seeing this when the list is initially shuffled when the name of the transition group is set to "disabled-list".

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