[bug report] New index is created in a different position where it should be
sergio-ortuno opened this issue · 0 comments
sergio-ortuno commented
- My issue title starts with
[bug report]
- I have read the README, especially the 'classic blunders' section, and the dragula docs.
- I have searched through the
ng2-dragula
issues for related problems, including closed issues. - I have browsed through the issues labeled "future reference" for problems that have been solved before or have a known workaround.
- I am using the latest version of
ng2-dragula
.
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:
- Create two index
- Drag the second one on top and don't drop it
- Drag the second one back to its original position and drop it
- Create a new index
Versions (required)
Please state which versions of the following packages you have installed:
@angular/core
: 13.3.9ng2-dragula
: 2.1.1