Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion apps/web/src/components/ui/autocomplete.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ function AutocompletePopup({
)}
>
<AutocompletePrimitive.Popup
className="flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground"
// Electron drag hit-testing ignores z-index; items over a drag region would swallow clicks.
className="flex max-h-[min(var(--available-height),23rem)] flex-1 flex-col text-foreground [-webkit-app-region:no-drag]"
data-slot="autocomplete-popup"
{...props}
>
Expand Down
3 changes: 2 additions & 1 deletion apps/web/src/components/ui/combobox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ function ComboboxPopup({
)}
>
<ComboboxPrimitive.Popup
className="flex min-w-0 max-h-[min(var(--available-height),23rem)] flex-1 flex-col overflow-hidden text-foreground"
// Electron drag hit-testing ignores z-index; items over a drag region would swallow clicks.
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]"
data-slot="combobox-popup"
{...props}
>
Expand Down
3 changes: 2 additions & 1 deletion apps/web/src/components/ui/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ function SelectPopup({
sideOffset={sideOffset}
>
<SelectPrimitive.Popup
className="origin-(--transform-origin) rounded-lg text-foreground outline-none"
// Electron drag hit-testing ignores z-index; items over a drag region would swallow clicks.
className="origin-(--transform-origin) rounded-lg text-foreground outline-none [-webkit-app-region:no-drag]"
data-slot="select-popup"
{...props}
>
Expand Down
Loading