angular-sortable-view
angular-sortable-view copied to clipboard
cannot drop before first item - any idea why?
Hey, Thanks for this lib. For some reason, when I drag over the first item, I cannot drop before the first item. not clear why. Here is some sanitized code, thanks
<div id="feed" sv-root>
<ul class="collection_items" sv-part="model.collectionItems">
<div sv-placeholder >
<div class="customPlaceholder">Drop here</div>
</div>
<li
ng-repeat="item in model.collectionItems "
class="board_item"
ng-class="{'add_on': $root.clicked[$index], 'selected': selectedItem.id === item.id,'video':item.type=='video', on_edit: !$root.final}"
id="item_{{item.id}}"
ng-if="isEmpty(item) || !$root.final"
sv-element
>
content goes here
</li>
....