Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
drafts: Avoid triggering user group popover on selection.
apoorvapendse957fe9a9dea4
diff --git a/web/src/drafts_overlay_ui.ts b/web/src/drafts_overlay_ui.tsindex cffec68e718..bcc36be4291 100644--- a/web/src/drafts_overlay_ui.ts+++ b/web/src/drafts_overlay_ui.ts@@ -314,12 +314,15 @@ function setup_event_handlers(): void {"click",".user-group-mention",function (this: HTMLElement, e) {+ // We stop the event from propagating because that is what+ // the main `.messagebox .user-group-mention` click handler+ // expects us to do for drafts.+ e.stopPropagation();if (mouse_drag.is_drag(e)) {return;}user_group_popover.toggle_user_group_info_popover(this, undefined);- e.stopPropagation();},);