mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 00:03:33 +10:00
chore: prevent user selection within signature pad (#1530)
adds a `select-none` class to the signature pad in order to prevent iPadOS from becoming too trigger happy with the context menu and auto corrects. Please ensure this doesn't break anything by accident.
This commit is contained in:
@ -461,7 +461,7 @@ export const SignaturePad = ({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={cn('relative block', containerClassName, {
|
className={cn('relative block select-none', containerClassName, {
|
||||||
'pointer-events-none opacity-50': disabled,
|
'pointer-events-none opacity-50': disabled,
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user