Skip to content

Commit 907059b

Browse files
authored
Revert "Fix duplicate running blocks by removing pointer-events: none"
1 parent 7ffe6d6 commit 907059b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/components/blocks/blocks.css

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,8 @@
7979
/*
8080
Fix an issue where the drag surface was preventing hover events for sharing blocks.
8181
This does not prevent user interaction on the blocks themselves.
82-
This was previously pointer-events: none, but that allowed clicks to fall through
83-
causing incorrect stack clicks on duplicate, and prevented the correct
84-
cursor from showing when dragging over the toolbox to delete.
8582
*/
86-
width: 1px;
87-
height: 1px;
88-
overflow: visible;
83+
pointer-events: none;
8984
z-index: $z-index-drag-layer; /* make blocks match gui drag layer */
9085
}
9186

0 commit comments

Comments
 (0)