From ad22a79d0a939f9a18ae12c7dd9397d60abc521d Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Thu, 4 Apr 2024 16:32:37 +0000 Subject: [PATCH] fix: drag cursor not showing --- core/css.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/css.ts b/core/css.ts index 07e9c98a485..9940c9fadd3 100644 --- a/core/css.ts +++ b/core/css.ts @@ -206,6 +206,9 @@ let content = ` .blocklyDragging { cursor: grabbing; cursor: -webkit-grabbing; + /* Drag surface disables events to not block the toolbox, so we have to + * reenable them here for the cursor values to work. */ + pointer-events: auto; } /* Changes cursor on mouse down. Not effective in Firefox because of