From 3deb9f3dbe020677cede2d4844c9c55c92c20cbb Mon Sep 17 00:00:00 2001 From: Reece Browne <74901996+reecebrowne@users.noreply.github.com> Date: Tue, 18 Nov 2025 12:24:45 +0000 Subject: [PATCH] Update frontend/src/core/tools/Sign.tsx Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- frontend/src/core/tools/Sign.tsx | 3 +++ 1 file changed, 3 insertions(+) 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);