diff --git a/src/components/blocks/blocks.css b/src/components/blocks/blocks.css index 583f587f79764fe7f5af191757c4f874e5832c40..0299a472b7c897eeb45372277f7c8704d7d057f1 100644 --- a/src/components/blocks/blocks.css +++ b/src/components/blocks/blocks.css @@ -79,8 +79,13 @@ /* 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 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 */ }