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

Fixed: default calendar to appendTo = undefined (#9279)

Aleix Suauff9857f87d73
diff --git a/frontend/src/app/modules/common/op-date-picker/op-date-picker.component.ts b/frontend/src/app/modules/common/op-date-picker/op-date-picker.component.ts
index 262668173a6..2afb12fd241 100644
--- a/frontend/src/app/modules/common/op-date-picker/op-date-picker.component.ts
+++ b/frontend/src/app/modules/common/op-date-picker/op-date-picker.component.ts
@@ -44,7 +44,7 @@ export class OpDatePickerComponent extends UntilDestroyedMixin implements OnDest
@Output() public onCancel = new EventEmitter<string>();
@Input() public initialDate = '';
- @Input() public appendTo?:HTMLElement = document.body;
+ @Input() public appendTo?:HTMLElement;
@Input() public classes = '';
@Input() public id = '';
@Input() public name = '';