-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: set cursor grab when image can be dragged #2831
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Have you tried to set cursor style to document body while dragging? |
Yes, I tried, but it didn't work. I tried adding it to the document body, to the dragged element, to the image in setDragImage, etc.. None of these work, and I'm using Chrome on a mac. |
Even with "!important"? 😯 |
Yes... This is strange. Will it work on windows? I'm curious. |
Looks like browser forces cursor if has drag data: https://bugs.chromium.org/p/chromium/issues/detail?id=1196385 |
* fix: set cursor grab when image can be dragged * chore: trigger test * chore: trigger test
Description
set cursor grab when image can be dragged.
Additionally
I've tried a lot but still can't resolve the problem of not being able to set the cursor when dragging