2

I would like to set the cursor while dragging an element. Grab and grabbing cursor work, but the moment an element is being dragged the cursor changes to the default:

enter image description here

What’s the recommended way of handling this? Looks like this requires a Javascript solution because there’s no actual CSS selector available for a “dragging” element.

Related questions, e.g. Changing cursor while dragging, Drag cursor in Javascript, or CSS for grabbing cursors don’t seem to work and are a bit dated.

Jens
  • 8,423
  • 9
  • 58
  • 78
  • Does this answer your question? [How to change the cursor icon when dragging in HTML5?](https://stackoverflow.com/questions/30052111/how-to-change-the-cursor-icon-when-dragging-in-html5) – Suresh May 30 '20 at 20:58

0 Answers0