From f2f556e537ef8b974405e5491aefa95d6f2877b9 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Wed, 19 Jun 2024 16:17:32 +0200 Subject: [PATCH] Add back safari pointer events fix --- packages/components/src/drop-zone/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/components/src/drop-zone/style.scss b/packages/components/src/drop-zone/style.scss index 63f48c5b61cd5..7b135ced2a09c 100644 --- a/packages/components/src/drop-zone/style.scss +++ b/packages/components/src/drop-zone/style.scss @@ -23,6 +23,11 @@ text-align: center; color: $white; opacity: 0; + + // Without this, when this div is shown, + // Safari calls a onDropZoneLeave causing a loop because of this bug + // https://bugs.webkit.org/show_bug.cgi?id=66547 + pointer-events: none; } .components-drop-zone__content-inner {