Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kgoggin opened this issue Dec 5, 2019 · 1 comment
Open

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

kgoggin opened this issue Dec 5, 2019 · 1 comment

Comments

@kgoggin
Copy link

kgoggin commented Dec 5, 2019

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!

@alex35mil
Copy link
Member

Yeah, I remember I had fun times with exactly this issue. TBH I don't remember what I ended up with, most likely just stopped wasting time on this and moved on to something else. Let's keep it opened, I will look into this sometime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants