Skip to content

Commit

Permalink
disable touch actions like zoom and img context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
goastler committed Dec 9, 2024
1 parent 4677828 commit 460a013
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/procaptcha-react/src/components/CaptchaComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ const CaptchaComponent = ({
boxShadow: "rgba(255, 255, 255, 0.2) 0px 0px 4px",
borderRadius: "4px",
backgroundColor: theme.palette.background.default,
userSelect: 'none',
touchAction: 'none',
overscrollBehavior: 'none',
}}
>
<div
Expand Down

0 comments on commit 460a013

Please sign in to comment.