From 0cec8b1d2924cce3cef20bb5a913494855e26ce5 Mon Sep 17 00:00:00 2001 From: Beka Westberg Date: Mon, 8 Apr 2024 16:23:49 +0000 Subject: [PATCH] fix: drag cursor not showing (#7999) --- 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