I am currently working on implementing drag-and-drop functionality in my project, utilizing slip.js from slip.js.
To enhance the cursor during dragging, I have assigned class="draggable"
to each draggable <tr>
. The CSS code for this class is:
.draggable:active {
cursor: -webkit-grabbing;
cursor: -moz-grabbing;
cursor: grabbing;
}
The drag-and-drop feature functions correctly, but there is an issue with Safari where the cursor appears as cursor: text
when dragging a table row.
In contrast, Chrome displays the cursor correctly.
Interestingly, in Safari, if I just click and hold without dragging, the cursor appears normal as well.