angular-sortable-view icon indicating copy to clipboard operation
angular-sortable-view copied to clipboard

cannot drop before first item - any idea why?

Open ilanle opened this issue 10 years ago • 0 comments

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>

....

ilanle avatar Oct 21 '15 10:10 ilanle