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.

click_handlers: Ensure typeahead clicks do not collapse compose box.

N-Shar-mab8cb72630f36
diff --git a/web/src/click_handlers.js b/web/src/click_handlers.js
index 79f6c35504c..f16b1ee7749 100644
--- a/web/src/click_handlers.js
+++ b/web/src/click_handlers.js
@@ -872,6 +872,7 @@ export function initialize() {
!$(e.target).closest(".popover").length &&
!$(e.target).closest(".micromodal").length &&
!$(e.target).closest("[data-tippy-root]").length &&
+ !$(e.target).closest(".typeahead").length &&
!$(e.target).closest(".enter_sends").length &&
$(e.target).closest("body").length
) {