Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

add background while resizing the cards

bsatarnejadad963f8d1151
diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
index a3b0bf52534..80242a09462 100644
--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.ts
@@ -494,6 +494,8 @@ export class TeamPlannerComponent extends UntilDestroyedMixin implements OnInit,
editable: true,
droppable: true,
eventResize: (resizeInfo:EventResizeDoneArg) => this.updateEvent(resizeInfo),
+ eventResizeStart: (resizeInfo:EventResizeDoneArg) => this.addBackgroundEvents(resizeInfo.event),
+ eventResizeStop: () => this.removeBackGroundEvents(),
eventDragStart: (dragInfo:EventDragStartArg) => {
if (dragInfo.event.source?.id === 'skeleton') {
return;