From 7963118032c98d3334db03b031d9b480344d58cd Mon Sep 17 00:00:00 2001 From: Nadav Tasher Date: Sat, 6 Jul 2024 22:07:57 +0300 Subject: [PATCH] Always close sidebar on escape button --- client/lib/escapeActions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/lib/escapeActions.js b/client/lib/escapeActions.js index 1bf32a7d9..986611326 100644 --- a/client/lib/escapeActions.js +++ b/client/lib/escapeActions.js @@ -123,6 +123,7 @@ EscapeActions = { // the shortcut sould work on textarea and inputs as well. Mousetrap.bindGlobal('esc', () => { EscapeActions.executeLowest(); + Sidebar.hide(); }); // On a left click on the document, we try to exectute one escape action (eg,