Skip to content

Commit

Permalink
Add back safari pointer events fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jun 19, 2024
1 parent e6fb253 commit f2f556e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/components/src/drop-zone/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f2f556e

Please sign in to comment.