Skip to content

Build your personal knowledge base with Trilium Notes

feat(react/collections/board): title editor not dismissing on blur

Elian Doran92a0faf47558
diff --git a/apps/client/src/widgets/collections/board/index.tsx b/apps/client/src/widgets/collections/board/index.tsx
index 3b623f7cb3..a71a117a39 100644
--- a/apps/client/src/widgets/collections/board/index.tsx
+++ b/apps/client/src/widgets/collections/board/index.tsx
@@ -265,6 +265,8 @@ export function TitleEditor({ currentValue, placeholder, save, dismiss, multilin
if (newValue.trim() && (newValue !== currentValue || isNewItem)) {
save(newValue);
dismissOnNextRefreshRef.current = true;
+ } else {
+ dismiss();
}
}}
/>