kamilkp / angular-sortable-view

Fully declarative (multi)sortable for AngularJS
http://kamilkp.github.io/angular-sortable-view
MIT License
423 stars 143 forks source link

Sortable view in combination with Mobile Angular UI Scrollable doesn 't work #36

Open RPieter opened 9 years ago

RPieter commented 9 years ago

I'm using Mobile Angular UI to properly show everything on a mobile screen. In my app, I'm showing some lists in a so-called scrollable.

I also want the elements in this list to be sortable, so I added angular-sortable-view.

This however doesn't seem to work; if I exclude the scrollable everything works just fine.

Is there anything I can to to make it work with scrollable too?

Information on the scrollable: http://mobileangularui.com/docs/#mobile-navbar-layout

Thanks in advance!

RPieter commented 9 years ago

Actually, it's the "overflow"-class that is set on a div that causes the sortable view to stop working.

    <div class="scrollable-content overthrow">
        <div class="list-group">
            <a ng-repeat="...">...</a>
        </div>
    </div>

When replacing the code above with the code below, sorting works, but scrolling is broken.

    <div class="scrollable-content">
        <div class="list-group">
            <a ng-repeat="...">...</a>
        </div>
    </div>

Any suggestion on how to solve this?