diff --git a/apps/client/src/widgets/collections/board/index.tsx b/apps/client/src/widgets/collections/board/index.tsx index 97b9632bf..a2a0d9001 100644 --- a/apps/client/src/widgets/collections/board/index.tsx +++ b/apps/client/src/widgets/collections/board/index.tsx @@ -292,8 +292,16 @@ export function TitleEditor({ currentValue, placeholder, save, dismiss, mode, is hideAllButtons: true, allowCreatingNotes: true }} - onKeyDown={onKeyDown} - onBlur={onBlur} + onKeyDown={(e) => { + if (e.key === "Escape") { + dismiss(); + } + }} + onBlur={() => dismiss()} + noteIdChanged={(newValue) => { + save(newValue); + dismiss(); + }} /> ) }