Skip to content

Commit

Permalink
fix: select console error (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
hizo authored Feb 9, 2024
1 parent e20f51c commit 3a9849c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/Select/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ const SelectContent = React.forwardRef<
'max-h-[var(--radix-select-content-available-height)] w-full min-w-[var(--radix-select-trigger-width)]'
)}
>
<ScrollArea.Viewport className="w-full h-full">
<ScrollArea.Viewport
className="w-full h-full"
style={{ overflowY: 'auto' }}
>
{children}
</ScrollArea.Viewport>
</SelectPrimitive.Viewport>
Expand Down

0 comments on commit 3a9849c

Please sign in to comment.