Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
compose: Collapse recipient widget with few options.
Tim Abbott77ac1a10def6
diff --git a/web/src/compose_recipient.js b/web/src/compose_recipient.jsindex f3a51a86ce2..f0b23b19967 100644--- a/web/src/compose_recipient.js+++ b/web/src/compose_recipient.js@@ -285,7 +285,7 @@ function compose_recipient_dropdown_on_show(dropdown) {Math.max(top_space, bottom_space),);const $popper = $(dropdown.popper);- $popper.find(".dropdown-list-wrapper").css("height", height + "px");+ $popper.find(".dropdown-list-wrapper").css("max-height", height + "px");}export function open_compose_recipient_dropdown() {diff --git a/web/src/dropdown_widget.js b/web/src/dropdown_widget.jsindex b87827b04a2..0976e81d104 100644--- a/web/src/dropdown_widget.js+++ b/web/src/dropdown_widget.js@@ -8,7 +8,7 @@ import * as ListWidget from "./list_widget";import {default_popover_props} from "./popover_menus";import {parse_html} from "./ui_util";-/* Sync with height set in zulip.css */+/* Sync with max-height set in zulip.css */export const DEFAULT_DROPDOWN_HEIGHT = 200;const noop = () => {};diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex d6183f7a8b0..86064da663f 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -3054,7 +3054,7 @@ select.invite-as {.dropdown-list-wrapper {/* Sync with `height` in dropdown_widget. */- height: 200px;+ max-height: 200px;min-width: 200px;.dropdown-list {