diff --git a/src/components/labels/LabelSelector.tsx b/src/components/labels/LabelSelector.tsx index 94efbb3f..ae6cace1 100644 --- a/src/components/labels/LabelSelector.tsx +++ b/src/components/labels/LabelSelector.tsx @@ -7,7 +7,6 @@ import { PopoverContent, PopoverTrigger, } from '@/components/ui/popover'; -import { ScrollArea } from '@/components/ui/scroll-area'; import { Separator } from '@/components/ui/separator'; import { Input } from '@/components/ui/input'; import { useLabels } from '@/hooks/useLabels'; @@ -125,29 +124,33 @@ export function LabelSelector({ projectId, compact }: LabelSelectorProps) { {labels.length > 0 ? ( - -
- {labels.map((label) => { - const colorConfig = getLabelColor(label.color); - const isSelected = projectLabelIds.includes(label.id); - return ( - - ); - })} -
-
+
{ + // Allow wheel scrolling within this container + e.stopPropagation(); + }} + > + {labels.map((label) => { + const colorConfig = getLabelColor(label.color); + const isSelected = projectLabelIds.includes(label.id); + return ( + + ); + })} +
) : (
{t('noLabelsCreated')}