Skip to content

Swap plugin is off by 1, possible off by 1 error #123

Open
@DerrykBoyd

Description

@DerrykBoyd

When using the swap plugin, after a sort the moved item is placed in the wrong location in the array. This happens on the examples page as well. This is the behaviour:

Swap Item 1 and item 2
Item 1 moves to 3rd spot (expected 2)
Item 2 moves to 1st spot (correct)
Item 3 moves to 2nd spot (expected no move)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions