Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

Drag handle positioned absolutely outside of the container.

Open shutup7742 opened this issue 4 years ago • 4 comments

Hi, I have this issue where if I create a sortable list with a handle for each item and I position this handle using position absolute outside of the container I am not able to sort the list using the handle, but if I use the same handle and position it to be on the edge of the container, within the bounds of the container, I am able to sort the list. So this is not an issue with the handle being positioned absolute but an issue of the handle being set to outside of the bounds of its container. Is there a fix for this issue or has anyone come up with a workaround for the issue?

shutup7742 avatar Dec 22 '20 03:12 shutup7742

I got the same issue. Several sortable lists are in the same group within single container. Code is here http://819.ru/_tmp/pledit/test-sortablejs.html Screenshot below. 2021-04-15 15_09_35-

ls819011 avatar Apr 15 '21 17:04 ls819011

Any news or consideration about this feature?

kevingermain avatar Aug 04 '21 08:08 kevingermain

Same issue here.

While dragging and moving over absolute positioned handles of other items, it does not treat the handle as part of the item. But it does treat the handle as part of the list, as the item being dragged is moved to the top of the list.

Another (more clear) demo: https://codepen.io/snap/pen/jOzRNNo

https://user-images.githubusercontent.com/935529/186166013-4f06a3d4-9026-4a83-9881-70e49558a1f3.mov

Could hack my way to make it look like the handle is positioned outside the list, but would be neat if this works out of the box.

sn3p avatar Aug 23 '22 13:08 sn3p

I also struggle with this issue, but was not able to hack my way around it.

redfellow avatar May 11 '23 11:05 redfellow