Skip to content

React Beautiful DnD example doesn't behave as expected #112

Description

@jwld

Are you submitting a bug report or a feature request?

Bug

What is the current behavior?

  1. Add 3 items to the array in this sandbox: https://codesandbox.io/s/8k0ykyr7z9
  2. Swap the 1st and 3rd item, and the list ends up reading 3-2-1 (because of the use of .swap() rather than .move())

What is the expected behavior?

The list should read 3-1-2.

Sandbox Link

https://codesandbox.io/s/8k0ykyr7z9

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