bugfix click on signing on mobile

This commit is contained in:
Timur Ercan
2023-03-26 20:03:46 +02:00
parent f96bf757e2
commit 3d0d7d1245

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}