Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
topic_list: Blur in clear_topic_search.
Shubham Padia3929b7b7e1ae
diff --git a/web/src/hotkey.ts b/web/src/hotkey.tsindex 492acd53b84..94d336d1adb 100644--- a/web/src/hotkey.ts+++ b/web/src/hotkey.ts@@ -483,7 +483,6 @@ function process_escape_key(e: JQuery.KeyDownEvent): boolean {// will zoom out, handled below.if (stream_list.is_zoomed_in() && $("#topic_filter_query").is(":focus")) {topic_list.clear_topic_search(e);- $("#topic_filter_query").trigger("blur");return true;}diff --git a/web/src/topic_list.ts b/web/src/topic_list.tsindex be066cc500f..4d3b7d27511 100644--- a/web/src/topic_list.ts+++ b/web/src/topic_list.ts@@ -488,6 +488,7 @@ export function clear_topic_search(e: JQuery.Event): void {// the `input` event handler without having to manually// manage the reset of the topic list.$input.trigger("input");+ $input.trigger("blur");}export function active_stream_id(): number | undefined {