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: Don't hide compose when clicking on tippy popovers.

Aman Agrawal5151e916eae1
diff --git a/static/js/click_handlers.js b/static/js/click_handlers.js
index f57e159a934..69d1dbbde32 100644
--- a/static/js/click_handlers.js
+++ b/static/js/click_handlers.js
@@ -864,6 +864,7 @@ export function initialize() {
!$(e.target).closest(".overlay").length &&
!$(e.target).closest(".popover").length &&
!$(e.target).closest(".modal").length &&
+ !$(e.target).closest("[data-tippy-root]").length &&
!$(e.target).closest(".modal-backdrop").length &&
$(e.target).closest("body").length
) {