You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have two arrays, the one on the right is supposed to be a list of prototypes. When I drop them into the left list/div, the new object is shown, the id is incremented. So far so good. Now I want to read out the elements of the array.
With dragulaService.drop the correct number of elements are shown.
With dragulaService.dropModel the number of elements is only updated when I drop a second time from right to left, or if I sort (incl. drop) in the left list.
I suppose that is not the expected behaviour?
To Reproduce (required)
Steps to reproduce the behavior:
[stackblitz]: https://stackblitz.com/edit/angular-hdam1p
(Un-)Comment the dragulaService.dropModel or the dragulaService.drop.
But if you leave them both in place, the problematic behaviour shown as well.
Screenshots (optional)
Versions (required)
Please state which versions of the following packages you have installed:
@angular/core: [e.g. 8.2.11]
ng2-dragula: [e.g. 2.1.1]
Browsers affected (optional)
Additional context (optional)
The text was updated successfully, but these errors were encountered:
REQUIRED: Before filing a bug report
[bug report]
ng2-dragula
issues for related problems, including closed issues.ng2-dragula
.Describe the bug (required)
I have two arrays, the one on the right is supposed to be a list of prototypes. When I drop them into the left list/div, the new object is shown, the id is incremented. So far so good. Now I want to read out the elements of the array.
With dragulaService.drop the correct number of elements are shown.
With dragulaService.dropModel the number of elements is only updated when I drop a second time from right to left, or if I sort (incl. drop) in the left list.
I suppose that is not the expected behaviour?
To Reproduce (required)
Steps to reproduce the behavior:
[stackblitz]: https://stackblitz.com/edit/angular-hdam1p
(Un-)Comment the dragulaService.dropModel or the dragulaService.drop.
But if you leave them both in place, the problematic behaviour shown as well.
Screenshots (optional)
Versions (required)
Please state which versions of the following packages you have installed:
@angular/core
: [e.g. 8.2.11]ng2-dragula
: [e.g. 2.1.1]Browsers affected (optional)
Additional context (optional)
The text was updated successfully, but these errors were encountered: