Skip to content

Moving an item from sourceIndex = 0, sets dst as newIndex + 1 #39

Open

Description

@jlduran

For example:
Moving Hubot from position [0, 0] to position [0, 1] actually gets calculated as moved to position [0, 2].
Screenshot 2023-07-03 at 1 05 57 PM

Activity

  1. jlduran commented on Jul 3, 2023

    @jlduran
    Author

    Reading the comment in:

    // Increment insertion index when moving item down in its own list.

    It appears that this behavior is explicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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