Compare commits

..
Author SHA1 Message Date
nxglabs 98aa69b884 Merge pull request #307 from OpenSignLabs/raktima-patch-10
fix: comment text widget display code in create template and draft template
2025-02-19 08:20:10 +00:00
@@ -782,8 +782,7 @@ function Placeholder(props) {
//enable dragging functionality only if isAlllowModify true on tab that widget and hold 1sec
if (
props.isAlllowModify &&
props?.assignedWidgetId.includes(props.pos.key) &&
props.data?.signerObjId === props.signerObjId
props?.assignedWidgetId.includes(props.pos.key)
) {
//if 'isTouchDevice' then handle dragging functionality conditionaly
if (isTouchDevice) {
@@ -795,8 +794,7 @@ function Placeholder(props) {
} else if (
//condition when 'isAlllowModify' is true and user add new widgets then handle dragging functionality like signyourself flow
props.isAlllowModify &&
!props?.assignedWidgetId.includes(props.pos.key) &&
props.data?.signerObjId === props.signerObjId
!props?.assignedWidgetId.includes(props.pos.key)
) {
return !isDraggingEnabled;
} else {