You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If both the sortable and draggable have the cursor option set the cursor stays at the value from the draggable after the draggable was dropped.
Example to reproduce: https://jsfiddle.net/5fxqybrs/1/
Moving the sortable elements works fine and sets the cursor to move and resets it back to auto.
But moving the draggable into the sortable keeps the cursor as move and it will never go back to auto again.
The following happens:
draggable start event is triggered: saves body value auto and sets cursor to move on body
sortable start event is triggered: saves body value of move and sets cursor to move on body
draggable stop event is triggered: setting cursor back to stored value of auto
sortable stop event is triggered: setting cursor back to stored value of move
A workaround I have implemented for now is setting the stop option of the sortable to a function which sets the cursor to auto:
If both the sortable and draggable have the
cursor
option set the cursor stays at the value from the draggable after the draggable was dropped.Example to reproduce:
https://jsfiddle.net/5fxqybrs/1/
Moving the sortable elements works fine and sets the cursor to
move
and resets it back toauto
.But moving the draggable into the sortable keeps the cursor as
move
and it will never go back toauto
again.The following happens:
auto
and sets cursor tomove
on bodymove
and sets cursor tomove
on bodyauto
move
A workaround I have implemented for now is setting the stop option of the sortable to a function which sets the cursor to auto:
The text was updated successfully, but these errors were encountered: