Open eladr2805 opened 7 years ago
Same here But works from Team 1 to Team 2 (or viceversa) but not to the boxers div.
What do you mean from team 1 to team 2?
Now got it....so what is the difference between them and how to solve it?
Move all boxers to first team, now you can move all boxers from first team to second team. Now you cannot move to "available boxers" div but you can move to "first team" div.
PS: too slow ;)
No idea how to solve it at now, we have to wait to @akserg, I have not time now to debug the issue myself sorry.
Ok thanks anyway :)
Found a quick fix, but I guess it is a wrong solution.
change
this.dropEnabled = this._sortableData.length === 0;
by
this.dropEnabled = true;
in sortable.component.ts.
If you don't want to recompile component do the change in node_modules/ng2-dnd/src/sortable.component.js
Thanks...i will check it.
I understand what the code do, but I donot understand why @akserg has added that restriction. If a 'sortable' div has data then you can not drop an item in the div. We will have to wait his answer
+1 Having this same issue as well. Using Angular rc5 and ng2-dnd 1.13.1.
first...Thank you for the amazing package!
+1 on this issue. I am assuming there are issues because the explicit need to make sure when moving containers dropEnabled must be true.
@akserg is this something that you will be working on in the near future?
I've also tried moving the inner sortable list into a separate component to no success.
Thanks!
Hi, Great module....works as expected...but if i drag all boxers to first team container i cant return them back. I can return items backas long as there are still items in the boxers but if i drag all of them i cant...
Thanks...
I'm submitting a ... [ ] bug report
Please tell us about your environment: angular 2 with webpack
Angular version: 2.3.0
Browser: [all ]