Skip to content

Commit

Permalink
No pointer events on circ crop outer border
Browse files Browse the repository at this point in the history
  • Loading branch information
sekoyo committed Dec 1, 2023
1 parent a0cc2a1 commit 10573ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/ReactCrop.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ $mobile-media-query: '(pointer: coarse)' !default;
border-radius: 50%;

&::after {
pointer-events: none;
content: '';
position: absolute;
top: -1px;
Expand Down

0 comments on commit 10573ae

Please sign in to comment.