Feature request: Change DnD components to register grab/grabbing icons
Opened this issue · 0 comments
xannem commented
Similar requests
- I have searched and found no existing similar requests
How are you using Legend?
Legend Studio
What problems are you trying to solve?
Currently for our styling, we have cursor: move;
in our draggable containers for when the user wants to hold and drag something. In addition, the cursor will default to pointer when dragging out of borders of the draggable container. Ideally however, we would like to have the cursor turn to grab
and grabbing
instead
See the note:
// NOTE: here we use `move` instead of `grab` since grab requires
// a more sophisticated control, i.e. when dragging, the cursor should
// be changed
Describe the solution you would like to see implemented
It would be nice for improved UX if cursor was switched to be instead cursor: grab
upon hover and cursor: grabbing
while it is active.
Describe alternatives you have considered
No response
Documentation, Design, Adoption, Migration Strategy
https://developer.mozilla.org/en-US/docs/Web/CSS/cursor
Contribution
- I would like to work on this feature