Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jlduran opened this issue Jul 3, 2023 · 1 comment
Open

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

jlduran opened this issue Jul 3, 2023 · 1 comment

Comments

@jlduran
Copy link

jlduran commented Jul 3, 2023

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

@jlduran
Copy link
Author

jlduran commented Jul 3, 2023

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant