From 10573aea532bbb3eab65932d2674a42341983c1e Mon Sep 17 00:00:00 2001 From: Dominic Tobias Date: Fri, 1 Dec 2023 00:27:58 +0000 Subject: [PATCH] No pointer events on circ crop outer border --- package.json | 2 +- src/ReactCrop.scss | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index de6b4ec..647340c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-image-crop", - "version": "10.2.0", + "version": "11.0.0", "description": "A responsive image cropping tool for React", "repository": "https://github.com/DominicTobias/react-image-crop", "type": "module", diff --git a/src/ReactCrop.scss b/src/ReactCrop.scss index c891020..d1eac42 100644 --- a/src/ReactCrop.scss +++ b/src/ReactCrop.scss @@ -79,6 +79,7 @@ $mobile-media-query: '(pointer: coarse)' !default; border-radius: 50%; &::after { + pointer-events: none; content: ''; position: absolute; top: -1px;