-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
cursor: move not applied while dragging a tile #3044
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
Comments
where is yeah that used to work. grabbing is ok, but we wouldn't have grab necessarly before pressing down so might be confusing ? Oh I see
|
I'm afraid I can't have it as that comment is more critical: "needed for over items to get enter/leave" will remove CSS |
Uh oh!
There was an error while loading. Please reload this page.
Subject of the issue
When dragging a widget around, I see that there is some CSS in gridstack that should be applying a move cursor.. however, that doesn't appear to be happening. I've traced it down to the fact that the gridstack-item has a
pointer-events: none
which conflicts with being able to change the cursor. If you change pointer-events to all just for testing, you'll see that the move cursor shows.Also, should it be using grab/grabbing instead of move?
Perhaps this may be of help too, CDK Drag suffers from the same issue angular/components#20246
Your environment
Steps to reproduce
https://jsfiddle.net/85pj7L2s/ uncomment the commented out style to see the move cursor come in while dragging.
Expected behavior
The move cursor should be showing while dragging a tile. I would perhaps suggest switching to grab/grabbing, as move was to support IE back in the day I believe, and grab/grabbing is becoming the new norm. If this can't be supported, the css applying the move cursor should at a minimum be removed, since it's not doing anything
gridstack.js/src/gridstack.scss
Line 121 in 3517210
The text was updated successfully, but these errors were encountered: