mirror of
https://github.com/documenso/documenso.git
synced 2026-07-26 01:45:08 +10:00
Merge pull request #30 from documenso/doc-184
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