diff --git a/apps/web/src/components/BranchToolbarBranchSelector.tsx b/apps/web/src/components/BranchToolbarBranchSelector.tsx index 94697b9592fd375591f087acd92ca44382e5281e..0dad406985a782c9e5074c1368ab84fac9f9340a 100644 --- a/apps/web/src/components/BranchToolbarBranchSelector.tsx +++ b/apps/web/src/components/BranchToolbarBranchSelector.tsx @@ -774,7 +774,9 @@ export function BranchToolbarBranchSelector({ > } - className="min-w-0 max-w-full font-normal text-muted-foreground/70 text-xs! hover:text-foreground/80" + // No press-scale: the popup aligns live to this trigger, so a + // momentary 0.97 shrink would drag the open popup ~3px sideways. + className="min-w-0 max-w-full font-normal text-muted-foreground/70 text-xs! hover:text-foreground/80 active:scale-100" disabled={isInitialBranchesLoadPending || isBranchActionPending} > diff --git a/apps/web/src/components/ui/combobox.tsx b/apps/web/src/components/ui/combobox.tsx index 59bf4d637704d010266e6a51851140d7176edb60..6437f1fc8729ef176922073385856751f8aa1dec 100644 --- a/apps/web/src/components/ui/combobox.tsx +++ b/apps/web/src/components/ui/combobox.tsx @@ -175,8 +175,8 @@ function ComboboxPopup({ side?: ComboboxPrimitive.Positioner.Props["side"]; anchor?: ComboboxPrimitive.Positioner.Props["anchor"]; }) { - const { chipsRef } = React.use(ComboboxContext); - const anchor = anchorProp ?? chipsRef; + const { chipsRef, multiple } = React.use(ComboboxContext); + const anchor = anchorProp ?? (multiple ? chipsRef : undefined); return (