feat: enhance FilterPopover component with scrollable content

This commit is contained in:
Yoga Pangestu 2026-08-15 13:02:42 +07:00
parent 10f277a268
commit fd6793af50

View File

@ -37,7 +37,11 @@ export function FilterPopover({
)}
</Button>
</PopoverTrigger>
<PopoverContent className="w-64" align="end">
<PopoverContent
className="max-h-[calc(100vh-4rem)] w-64 overflow-y-auto"
align="end"
avoidCollisions={false}
>
<div className="flex flex-col gap-4">
<div className="flex items-center justify-between">
<span className="text-sm font-medium">Filter</span>