Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

modals: Fix focus advancement in move topic modal.

Sayam Samalf7750a07a248
diff --git a/web/src/stream_popover.js b/web/src/stream_popover.js
index 7623a169766..4157eb6e995 100644
--- a/web/src/stream_popover.js
+++ b/web/src/stream_popover.js
@@ -547,6 +547,9 @@ export async function build_move_topic_to_stream_popover(
dropdown.hide();
event.preventDefault();
event.stopPropagation();
+
+ // Move focus to the topic input after a new stream is selected.
+ $("#move_topic_form .move_messages_edit_topic").trigger("focus");
}
function move_topic_post_render() {