a5hik / ng-sortable

AngularJS Library for Drag and Drop, supports Sortable and Draggable. Supports Touch devices.

Home Page:http://a5hik.github.io/ng-sortable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Putting horizontal container inside very wide div breaks drag and drop

anderslanglands opened this issue · comments

Hi, first of all thanks for making this library! I have a horizontal container full of items and it works fine. However now I would like to put the container in a very wide div so that it will always be a flat row and the user can horizontally scroll the browser window to see all items.

Reordering any items that would have been "wrapped" onto the next row had the wide div not been there is broken. The placeholder (and drop position) is offset from where it should be in the list, and gets progressively worse the further along the list you try to grab an item.