ng2-dragula
ng2-dragula copied to clipboard
As i drag and drop i cant get that exact array , i found that its only happen when there is multiple same letter
REQUIRED: Before filing a bug report
Change each [ ] to [x] when you have done it.
- [x ] My issue title starts with
[bug report] - [ x] I have read the README, especially the 'classic blunders' section, and the dragula docs.
- [ x] I have searched through the
ng2-dragulaissues for related problems, including closed issues. - [ x] I have browsed through the issues labeled "future reference" for problems that have been solved before or have a known workaround.
- [x ] I am using the latest version of
ng2-dragula.
Describe the bug (required)
I have a word that user need to drag drop its letter to make it right but after multiple drag and drop i get wrong aray from targetmodel
As user drag drop letter my view has different set of order but what i get from target is different
Its necessary that i get same aray as it on screen bcoz i have to compare its index with correct word ..
And i am not able to get screen list i have tried getting using id of element.
To Reproduce (required)
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
If your issue appears in a larger codebase and it you can't pin down why it is happening, please
- Fork this StackBlitz template
- Update it to the latest
ng2-dragula - Modify it, and reproduce the issue
- Add a link to it here.
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Versions (required)
Please state which versions of the following packages you have installed:
@angular/core: [e.g. 6.0.4]ng2-dragula: [e.g. 2.0.0]
Browsers affected (optional)
Is this a bug in a particular browser? If so, it's unlikely that it's a problem with ng2-dragula. Instead, it is probably a bug in dragula.
Additional context (optional)
Add any other context about the problem here.
what my requirment is i have a array of word like "hello" etc so user have to drag drop each letter to make a correct word i am stuck when there is a word having multiple same letter for example "Hello or "worker" etc . if word has no same letter it word perfect but if not then after few attempts some how targetmodel not give corrent array order that user draged and drop