Merge pull request #30 from documenso/doc-184

bugfix click on signing on mobile
This commit is contained in:
Timur Ercan
2023-03-26 20:05:06 +02:00
committed by GitHub

View File

@@ -35,12 +35,12 @@ export default function SignableField(props: FieldPropsType) {
defaultPosition={{ x: 0, y: 0 }}
cancel="div"
onMouseDown={(e: any) => {
e.preventDefault();
// e.preventDefault();
e.stopPropagation();
}}
>
<div
onClick={() => {
onClick={(e: any) => {
if (!field?.signature) props.onClick(props.field);
}}
ref={nodeRef}