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

Close project status edit field on scroll

Wieland Lindenthale4343392a956
diff --git a/app/assets/stylesheets/layout/_base.sass b/app/assets/stylesheets/layout/_base.sass
index 13078114037..406f6d18e52 100644
--- a/app/assets/stylesheets/layout/_base.sass
+++ b/app/assets/stylesheets/layout/_base.sass
@@ -56,6 +56,7 @@
overflow-y: auto
overflow-x: hidden
background-color: #fff
+ position: relative
&.nosidebar
margin-left: 0
diff --git a/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.ts b/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.ts
index f52c84169fa..33bd2ee05e8 100644
--- a/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.ts
+++ b/frontend/src/app/modules/fields/edit/field-types/project-status-edit-field.component.ts
@@ -52,7 +52,7 @@ export class ProjectStatusEditFieldComponent extends EditFieldComponent implemen
};
});
- public hiddenOverflowContainer = 'body';
+ public hiddenOverflowContainer = '#content-wrapper';
ngOnInit() {
// The timeout takes care that the opening is added to the end of the current call stack.