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

[bug report] New index is created in a different position where it should be #1064

Open
5 tasks done
sergio-ortuno opened this issue Sep 2, 2022 · 0 comments
Open
5 tasks done

Comments

@sergio-ortuno
Copy link

sergio-ortuno commented Sep 2, 2022

Describe the bug (required)

I'm using the latest dragula version (2.1.1) and I'm having an issue when dragging and dropping an index.
For example, when I have two index, if I drag the second one on top but i don't drop it and then I drag it again to the original position and drop it, when I create a new index, this new index is created in the middle. If then I delete that index and then do the same with the first one but the other way around, the new index is created on top of every other index I have

To Reproduce (required)

Steps to reproduce the behavior:

  1. Create two index
  2. Drag the second one on top and don't drop it
  3. Drag the second one back to its original position and drop it
  4. Create a new index

Versions (required)

Please state which versions of the following packages you have installed:

  • @angular/core: 13.3.9
  • ng2-dragula: 2.1.1
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