Can't set "cursor" CSS property on DraggableItem
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- css, react
- Domain
- frontend
Research direction
Start by locating the DraggableItem entry point and reproducing the interaction between its pointer-events styling and the cursor prop. Done means callers can use grab and grabbing cursor values while dragging still works as intended.
Written by the indexing model from the issue text.
Description
I wanted to update the cursor for my Draggable Items to be grab and then grabbing while dragging, but it wasn't working. In doing some digging, I've found that adding pointer-events: none disables the use cursor (yay CSS 🙄).
I definitely understand the reasoning behind setting pointer-events: none, but I wonder if there'd be way to set it on the underlying child of DraggableItem instead of that <div/> itself, so you could still set the cursor prop of the div? 🤔
There may not be an easy/workable fix here, but I figured I'd file it anyway just to see if you had any ideas. Thanks!
- Dominant language
- ReScript
- Stars
- 119
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from shakacode/rescript-dnd
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
shakacode/rescript-dnd#33 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
shakacode/rescript-dnd#15 · 8 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Prevent immediate jump when draggable from the droppable above is landed to the droppable below Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in shakacode/rescript-dnd
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 86/100