Skip to content

Commit

Permalink
fix: Select component transition
Browse files Browse the repository at this point in the history
  • Loading branch information
jaieds committed Nov 15, 2024
1 parent 7322063 commit f6bcde7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/select/select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export function SelectButton( {
id={ selectId }
ref={ refs.setReference }
className={ cn(
'flex items-center justify-between w-full box-border transition-colors duration-150 bg-white',
'flex items-center justify-between w-full box-border transition-[outline,background-color,color,box-shadow] duration-200 bg-white',
'outline outline-1 outline-field-border border-none cursor-pointer',
! isOpen &&
'focus:ring-2 focus:ring-offset-4 focus:outline-focus-border focus:ring-focus [&:hover:not(:focus):not(:disabled)]:outline-border-strong',
Expand Down

0 comments on commit f6bcde7

Please sign in to comment.