From 11cc2b37e77e9c495e95ee55c55bdcfebb9b4cdb Mon Sep 17 00:00:00 2001 From: "anjula.hettige" <36264388+anjulahettige@users.noreply.github.com> Date: Sat, 29 Aug 2026 10:13:18 +0530 Subject: [PATCH] fix(web): keep project switcher rows inside the dropdown ComboboxPopup pins the glass panel to the trigger width when a caller passes w-(--anchor-width), but the Base UI popup inside is a flex child without min-w-0. Its automatic minimum size is the min-content width of the widest row, which truncate on the row labels cannot reduce, so with a project name wider than the sidebar trigger the rows, their settings gears, and the search underline all render past the panel edge with no horizontal clipping. min-w-0 lets the popup shrink to the panel width so labels truncate and content clips. Popups without an explicit width class are unaffected: the panel still sizes to content between min-w-(--anchor-width) and max-w-(--available-width). Fixes #8612 --- apps/web/src/components/ui/combobox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/ui/combobox.tsx b/apps/web/src/components/ui/combobox.tsx index cf3a46142ad2..bf78662da84f 100644 --- a/apps/web/src/components/ui/combobox.tsx +++ b/apps/web/src/components/ui/combobox.tsx @@ -175,7 +175,7 @@ function ComboboxPopup({ )} >