Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
search: Navigate results with up/down when input is focused.
evykassirer1806c390c1f4
diff --git a/web/src/hotkey.js b/web/src/hotkey.jsindex b1b54e922db..6d9ed059195 100644--- a/web/src/hotkey.js+++ b/web/src/hotkey.js@@ -858,6 +858,18 @@ export function process_hotkey(e, hotkey) {return true;}+ if (event_name === "down_arrow" && $(":focus").attr("id") === "search_query") {+ $("#search_query").trigger("blur");+ message_scroll_state.set_keyboard_triggered_current_scroll(true);+ navigate.down(true);+ }++ if (event_name === "up_arrow" && $(":focus").attr("id") === "search_query") {+ $("#search_query").trigger("blur");+ message_scroll_state.set_keyboard_triggered_current_scroll(true);+ navigate.up(true);+ }+if (((event_name === "down_arrow" || event_name === "page_down" || event_name === "end") &&compose_state.focus_in_empty_compose()) ||