i was trying to use angular-sortables to sort the dragged(by ng-drag-drop library) list items but seems like nothing is happening by using it too. Can someone tell me if it is compatible with angular 5 or not ?
Below is my code :
<div class="card-header card-inverse card-primary">Drop Anything here</div>
<div class="card-block scroll-list" [sortablejs]="droppedHorizontalItems" [sortablejsOptions]="{ animation: 150 }">
<li
[draggable]
[dragClass]="'active'"
[dragData]="item"
[dragScope]="item.type"
[dragEnabled]="dragEnabled"
*ngFor="let item of droppedHorizontalItems;let in=index"
class="horizontal list-group-item"
>
{{item.name}}
</li>
</div>
</div>
Well, this is the information from angular-sortablejs github page:
So, I think that you shouldn't have any problem with it.
P.S. Sorry, but I didn't see your example. Maybe it'll be better to add plunker link.