The best way to control Claude Code, Codex and more from any computer or phone
fix(web): dropdown items over the desktop title bar respond to clicks (#32643)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Screen committed
Nov 10, 2026 at 05:31 UTC
ad989057ba3b9298d40969689229f4feef1c9872
3 files changed
+6
-3
apps/web/src/components/ui/autocomplete.tsx
+2
-1
@@ -107,7 +107,8 @@ function AutocompletePopup({
107
)}
108
>
109
<AutocompletePrimitive.Popup
110
- className="flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground"
110
+ // Electron drag hit-testing ignores z-index; items over a drag region would swallow clicks.
111
+ className="flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground [-webkit-app-region:no-drag]"
112
data-slot="autocomplete-popup"
113
{...props}
114
>
apps/web/src/components/ui/combobox.tsx
+2
-1
@@ -172,7 +172,8 @@ function ComboboxPopup({
172
)}
173
>
174
<ComboboxPrimitive.Popup
175
- className="flex min-w-0 max-h-[min(var(--available-height),23rem)] flex-1 flex-col overflow-hidden text-foreground"
175
+ // Electron drag hit-testing ignores z-index; items over a drag region would swallow clicks.
176
+ className="flex min-w-0 max-h-[min(var(--available-height),23rem)] flex-1 flex-col overflow-hidden text-foreground [-webkit-app-region:no-drag]"
177
data-slot="combobox-popup"
178
{...props}
179
>
apps/web/src/components/ui/select.tsx
+2
-1
@@ -128,7 +128,8 @@ function SelectPopup({
128
sideOffset={sideOffset}
129
>
130
<SelectPrimitive.Popup
131
- className="origin-(--transform-origin) rounded-lg text-foreground outline-none"
131
+ // Electron drag hit-testing ignores z-index; items over a drag region would swallow clicks.
132
+ className="origin-(--transform-origin) rounded-lg text-foreground outline-none [-webkit-app-region:no-drag]"
133
data-slot="select-popup"
134
{...props}
135
>