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.

compose: Return focus to DM input after pill selection.

evykassirerec25baa34459
diff --git a/web/src/compose_pm_pill.js b/web/src/compose_pm_pill.js
index 1d7ee77188b..1e6a7a854ea 100644
--- a/web/src/compose_pm_pill.js
+++ b/web/src/compose_pm_pill.js
@@ -29,6 +29,7 @@ export function initialize({on_pill_create_or_remove}) {
widget.onPillCreate(() => {
on_pill_create_or_remove();
+ $("#private_message_recipient").trigger("focus");
});
widget.onPillRemove(() => {