mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
bugfix click on signing on mobile
This commit is contained in:
@ -35,12 +35,12 @@ export default function SignableField(props: FieldPropsType) {
|
|||||||
defaultPosition={{ x: 0, y: 0 }}
|
defaultPosition={{ x: 0, y: 0 }}
|
||||||
cancel="div"
|
cancel="div"
|
||||||
onMouseDown={(e: any) => {
|
onMouseDown={(e: any) => {
|
||||||
e.preventDefault();
|
// e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
onClick={() => {
|
onClick={(e: any) => {
|
||||||
if (!field?.signature) props.onClick(props.field);
|
if (!field?.signature) props.onClick(props.field);
|
||||||
}}
|
}}
|
||||||
ref={nodeRef}
|
ref={nodeRef}
|
||||||
|
|||||||
Reference in New Issue
Block a user