Skip to content

Commit 1ecc569

Browse files
authored
Fix button bg color on disabled combobox (#2791)
fix button bg color on disabled combobox
1 parent 3e5a0a1 commit 1ecc569

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/ui/lib/Combobox.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,10 @@ export const Combobox = ({
235235
/>
236236
{items.length > 0 && (
237237
<ComboboxButton
238-
className="my-1.5 flex items-center border-l px-3 bg-default border-secondary"
238+
className={cn(
239+
'my-1.5 flex items-center border-l px-3 border-secondary',
240+
disabled ? 'cursor-not-allowed bg-disabled' : 'bg-default'
241+
)}
239242
aria-hidden
240243
>
241244
<SelectArrows6Icon title="Select" className="w-2 text-secondary" />

0 commit comments

Comments
 (0)