Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
hotkey: Map numpad navigation keys to close compose when empty.
Ganesh Pawar5262ca76213a
diff --git a/static/js/hotkey.js b/static/js/hotkey.jsindex ad5ffba8425..bf6f3868e3f 100644--- a/static/js/hotkey.js+++ b/static/js/hotkey.js@@ -651,7 +651,12 @@ export function process_hotkey(e, hotkey) {}if (- (event_name === "up_arrow" || event_name === "down_arrow") &&+ (event_name === "up_arrow" ||+ event_name === "down_arrow" ||+ event_name === "page_up" ||+ event_name === "page_down" ||+ event_name === "home" ||+ event_name === "end") &&compose_state.focus_in_empty_compose()) {compose_actions.cancel();