Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

Changing widths of drag class on Chrome

Open andtro opened this issue 4 years ago • 3 comments

Problem:

In Chrome if the drag class makes the width smaller the original drag item, the drag stops and the dragging element is left on the list.

Setting forceFallback to true fixes the issue, however the width of the dragging element doesn't change like I would like it to.

JSBin/JSFiddle demonstrating the problem:

~https://jsbin.com/qabaked/1/edit?html,css,js,output~ https://jsbin.com/qabaked/5/edit?html,css,js,output

andtro avatar Mar 19 '20 20:03 andtro

Could you send in a GIF with what it looks like for you? I used firefox and chrome without seeing the issue.

waynevanson avatar Apr 16 '20 05:04 waynevanson

I also encountered this problem. After changing the width of the class, the dragging of other classes will be invalid. Only after dragging the width of the changed class again, other classes can resume dragging. After setting "forceFallback", the expected effect cannot be achieved

Alone12 avatar May 29 '20 09:05 Alone12

There was an error with my example. I fixed it here: https://jsbin.com/qabaked/5/edit?html,css,js,output

andtro avatar Nov 24 '20 14:11 andtro