From a74d3feae425063e559d9d185cdbf2af1fa61885 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Thu, 27 Mar 2025 14:39:43 +0000 Subject: [PATCH] fix: make collab ready reliable on tab return --- apps/client/src/features/editor/page-editor.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/client/src/features/editor/page-editor.tsx b/apps/client/src/features/editor/page-editor.tsx index af7d888c..d8597e30 100644 --- a/apps/client/src/features/editor/page-editor.tsx +++ b/apps/client/src/features/editor/page-editor.tsx @@ -273,6 +273,8 @@ export default function PageEditor({ collabRetryCount.current > 2 ? 3000 : 0, ); + setIsCollabReady(true); + return () => clearTimeout(reconnectTimeout); } }, [isIdle, documentState, remoteProvider?.status]);