diff --git a/frontend/src/core/tools/Sign.tsx b/frontend/src/core/tools/Sign.tsx index 41b3d1235..480d4c3a8 100644 --- a/frontend/src/core/tools/Sign.tsx +++ b/frontend/src/core/tools/Sign.tsx @@ -130,6 +130,9 @@ const Sign = (props: BaseToolProps) => { if (hasSignatureReady) { if (typeof window !== 'undefined') { + // TODO: Ideally, we should trigger handleActivateSignaturePlacement when the viewer is ready. + // However, due to current architectural constraints, we use a 150ms delay to allow the viewer to reload. + // This value was empirically determined to be sufficient for most environments, but should be revisited. window.setTimeout(() => { handleActivateSignaturePlacement(); }, 150);