Skip to content

The open alternative to Salesforce, designed for AI.

Fix backspace shortcut preventing text deletion in command menu search bar (#13157)

Raphaël Bosi77b9217467a2
diff --git a/packages/twenty-front/src/modules/command-menu/hooks/useCommandMenuHotKeys.ts b/packages/twenty-front/src/modules/command-menu/hooks/useCommandMenuHotKeys.ts
index b648bb9f22c..5e5a8e5bfdb 100644
--- a/packages/twenty-front/src/modules/command-menu/hooks/useCommandMenuHotKeys.ts
+++ b/packages/twenty-front/src/modules/command-menu/hooks/useCommandMenuHotKeys.ts
@@ -117,5 +117,8 @@ export const useCommandMenuHotKeys = () => {
goBackFromCommandMenu,
setGlobalCommandMenuContext,
],
+ options: {
+ preventDefault: false,
+ },
});
};