Enable right-click context menus for calendar tasks
Modify `CalendarView.tsx` to remove `pointer-events-none` from the parent Badge component, allowing right-click interactions on calendar task badges. Replit-Commit-Author: Agent Replit-Commit-Session-Id: ceced2fc-aa46-458d-ba87-ddd4b7bb1518 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/659922a9-0087-461c-90dd-6d9a58b81d4d/ceced2fc-aa46-458d-ba87-ddd4b7bb1518/7gWYrTe
This commit is contained in:
@@ -340,14 +340,14 @@ export default function CalendarView({ tasks, onTaskDrop, onTaskClick, onDateSel
|
||||
>
|
||||
<Badge
|
||||
variant="outline"
|
||||
className="w-full justify-start text-xs p-1 h-auto pointer-events-none"
|
||||
className="w-full justify-start text-xs p-1 h-auto"
|
||||
style={taskLabel ? {
|
||||
borderColor: taskLabel.color,
|
||||
borderWidth: '2px',
|
||||
borderStyle: 'solid'
|
||||
} : {}}
|
||||
>
|
||||
<div className="truncate flex-1 text-left">
|
||||
<div className="truncate flex-1 text-left pointer-events-none">
|
||||
{task.title}
|
||||
</div>
|
||||
</Badge>
|
||||
|
||||
Reference in New Issue
Block a user