fix: draft type document in open-sign drive & disable placeholder click behavior for other signers in mobile view

This commit is contained in:
RaktimaNXG
2024-01-19 21:17:38 +05:30
parent e85bbb7bd9
commit 1f16123865
5 changed files with 123 additions and 95 deletions
@@ -186,7 +186,13 @@ function Placeholder(props) {
height: props.posHeight(props.pos, props.isSignYourself),
zIndex: "10"
}}
onTouchEnd={(e) => handlePlaceholderClick()}
onTouchEnd={(e) => {
props.isNeedSign && props.data?.signerObjId === props.signerObjId
? handlePlaceholderClick()
: props.isPlaceholder
? handlePlaceholderClick()
: props.isSignYourself && handlePlaceholderClick();
}}
>
{props.isShowBorder && (
<>