Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
inbox: Fix topic not focused with `r` hotkey with no topic focused.
Aman Agrawal26299d09aa67
diff --git a/web/src/compose_ui.ts b/web/src/compose_ui.tsindex dc38ee351c0..3be183d250a 100644--- a/web/src/compose_ui.ts+++ b/web/src/compose_ui.ts@@ -214,7 +214,11 @@ function get_focus_area(opts: ComposeTriggeredOptions): string {(opts.message_type === "stream" && opts.stream_id !== undefined) ||(opts.message_type === "private" && opts.private_message_recipient_ids.length > 0)) {- if (opts.trigger === "clear topic button" || opts.trigger === "compose_hotkey") {+ if (+ opts.trigger === "clear topic button" ||+ opts.trigger === "compose_hotkey" ||+ opts.trigger === "inbox_nofocus"+ ) {return "input#stream_message_recipient_topic";}return "textarea#compose-textarea";