Closed barisusakli closed 2 years ago
Hi @mgol here is a jsbin https://jsbin.com/cibumufeni/1/edit?html,css,js,output
This uses 1.12.1 and the drag/drop works. If you change the library included to 1.13.0 it will cause the issue you see in the gif above.
Thanks! That confirms it.
I bisected it to c866e455373028a62a0956455a229fef63e91fac. PR that introduced the regression: #1793.
Fix at #2009: restoring one removal from #1793 fixes the issue.
jQuery UI 1.13.1 including a fix for this issue has been released: https://blog.jqueryui.com/2022/01/jquery-ui-1-13-1-released/.
I used the 1.13.1, I have another issue, when drag the element into the iframe and sortable, the cloned element offset change, but end sortable, the offset works again.
Anybody can help figure out the root cause? Thanks. BTW, when start the drag operation, the drag not smoothly and feel some lags.
@gaojianzhuang This issue is closed. If you have another similar one, please open a new issue and provide a runnable test case without third-party libraries.
After upgrading from 1.12.1 to 1.13.0 dragging an item to a sortable causes the helper to go out of page when it is over the sortable.
The code to create the draggable is below.
Same code works fine on 1.12.1. Feel free to close if this is already reported since I saw some other issues with draggable on 1.13.0