Skip to content

Can't set "cursor" CSS property on DraggableItemΒ #18

@kgoggin

Description

@kgoggin

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions