mirror of
https://github.com/documenso/documenso.git
synced 2025-11-14 00:32:43 +10:00
fix: signing field disabled when pointer is out of canvas (#1652)
This commit is contained in:
committed by
David Nguyen
parent
44cdbeecb4
commit
b3db3be8e9
@ -271,7 +271,11 @@ export const SignaturePad = ({
|
|||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
onMouseUp(event, false);
|
if (isPressed) {
|
||||||
|
onMouseUp(event, true);
|
||||||
|
} else {
|
||||||
|
onMouseUp(event, false);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
const onClearClick = () => {
|
const onClearClick = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user