Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
drafts: Fix sidebar menu not closing when clicking elsewhere on page.
juliaBichler01eaf1fa8fb7d6
diff --git a/frontend_tests/node_tests/popovers.js b/frontend_tests/node_tests/popovers.jsindex e945b8e4393..beccc14244b 100644--- a/frontend_tests/node_tests/popovers.js+++ b/frontend_tests/node_tests/popovers.js@@ -33,6 +33,7 @@ mock_esm("../../static/js/stream_popover", {hide_topic_popover: noop,hide_all_messages_popover: noop,hide_starred_messages_popover: noop,+ hide_drafts_popover: noop,hide_streamlist_sidebar: noop,});diff --git a/static/js/popovers.js b/static/js/popovers.jsindex 772564cbd2b..3f79b88a6c9 100644--- a/static/js/popovers.js+++ b/static/js/popovers.js@@ -1313,6 +1313,7 @@ export function hide_all_except_sidebars(opts) {stream_popover.hide_topic_popover();stream_popover.hide_all_messages_popover();stream_popover.hide_starred_messages_popover();+ stream_popover.hide_drafts_popover();hide_user_sidebar_popover();hide_user_info_popover();hide_playground_links_popover();