Sortable icon indicating copy to clipboard operation
Sortable copied to clipboard

[bug] why cant't turn the cursor style to 'move' while dragging even though set the dropEffect of 'move'

Open twotwoba opened this issue 3 years ago • 3 comments

cursor

  • I want the cursor turn to move style while dragging

twotwoba avatar May 11 '22 06:05 twotwoba

I want too

pengzai530 avatar Aug 04 '22 08:08 pengzai530

Ditto! pointer-events: none is blocking being able to set the cursor. Don't know the implications of pointer-events though.

joerattz avatar Sep 13 '22 15:09 joerattz

You could set document.body.classList.add('is-dragging') onStart event, and set document.body.classList.remove(is-dragging') onEnd event. The class 'is-dragging' like this: .is-dragging, .is-dragging * { cursor: copy; }

Zen33 avatar Mar 13 '23 12:03 Zen33