diff --git a/src/app/features/room/hooks/useEditorAutoFocus.ts b/src/app/features/room/hooks/useEditorAutoFocus.ts index 03eb828d..eceb0497 100644 --- a/src/app/features/room/hooks/useEditorAutoFocus.ts +++ b/src/app/features/room/hooks/useEditorAutoFocus.ts @@ -92,7 +92,7 @@ export const useThreadFocus = ( return () => { // eslint-disable-next-line no-param-reassign - threadFocusRef.current = true; + threadFocusRef.current = false; window.removeEventListener('pointerdown', handlePointerDown); }; }, [threadFocusRef, viewElementRef, threadId]);