Skip to content
Snippets Groups Projects
Commit d4d6dede authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Fix duplicate running blocks by removing pointer-events: none;

parent 043cbec9
No related branches found
No related tags found
No related merge requests found
...@@ -79,8 +79,13 @@ ...@@ -79,8 +79,13 @@
/* /*
Fix an issue where the drag surface was preventing hover events for sharing blocks. Fix an issue where the drag surface was preventing hover events for sharing blocks.
This does not prevent user interaction on the blocks themselves. This does not prevent user interaction on the blocks themselves.
This was previously pointer-events: none, but that allowed clicks to fall through
causing incorrect stack clicks on duplicate, and prevented the correct
cursor from showing when dragging over the toolbox to delete.
*/ */
pointer-events: none; width: 1px;
height: 1px;
overflow: visible;
z-index: $z-index-drag-layer; /* make blocks match gui drag layer */ z-index: $z-index-drag-layer; /* make blocks match gui drag layer */
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment