From d50f0986bbcbb52b0edf35f59aae69a50d5284ab Mon Sep 17 00:00:00 2001 From: Hemachandar <132386067+hmacr@users.noreply.github.com> Date: Thu, 15 May 2025 19:42:26 +0530 Subject: [PATCH] fix: Reset editing state when collection/document title is unmodified (#9221) --- app/components/EditableTitle.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/components/EditableTitle.tsx b/app/components/EditableTitle.tsx index fd191967cb..aa487c728f 100644 --- a/app/components/EditableTitle.tsx +++ b/app/components/EditableTitle.tsx @@ -69,6 +69,7 @@ function EditableTitle( if (trimmedValue === originalValue || trimmedValue.length === 0) { setValue(originalValue); + setIsEditing(false); onCancel?.(); return; }