Replies: 1 comment
-
On Chrome the example you linked works already as you would like it to work. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently the cursor is
default
when hovering or dragging the item.Is there anyway to make the cursor
grab
on hovering andgrabbing
on dragging?Like the behavior demonstrated in the Stroybook
https://master--5fc05e08a4a65d0021ae0bf2.chromatic.com/?path=/story/presets-sortable-grid--basic-setup
I tried using the
isDragging
state deconstructed from the return value of theuseSortable
hooks. And change the inline style ofcursor
according to theisDragging
, but only the hover cursor works. The cursor gets back todefault
when dragging the item.Beta Was this translation helpful? Give feedback.
All reactions