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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Allow scrolling on all project lists, not only project include. However, the scrolling needs to be handled only on the root list (not all recursive hierarchy lists). Otherwise, the tooltips in project include won't be shown correctly..
Henriette Darged3e32f8c2ce3
diff --git a/frontend/src/app/shared/components/autocompleter/project-menu-autocomplete/project-menu-autocomplete.template.html b/frontend/src/app/shared/components/autocompleter/project-menu-autocomplete/project-menu-autocomplete.template.htmlindex 76980ca6097..82a5b431d2e 100644--- a/frontend/src/app/shared/components/autocompleter/project-menu-autocomplete/project-menu-autocomplete.template.html+++ b/frontend/src/app/shared/components/autocompleter/project-menu-autocomplete/project-menu-autocomplete.template.html@@ -49,6 +49,7 @@[projects]="projects$ | async"[searchText]="searchableProjectListService.searchText"[multiSelect]="false"+ [root]="true"data-list-root="true"data-qa-selector="op-project-menu-autocomplete--list"></ul>diff --git a/frontend/src/app/shared/components/project-include/project-include.component.sass b/frontend/src/app/shared/components/project-include/project-include.component.sassindex fb7a9eedd55..d9abf1aaf7d 100644--- a/frontend/src/app/shared/components/project-include/project-include.component.sass+++ b/frontend/src/app/shared/components/project-include/project-include.component.sass@@ -10,6 +10,3 @@// A true center aligned text does not look center alignedpadding-top: 1pxmargin-left: $spot-spacing-0_5-- &--list- overflow-y: autodiff --git a/frontend/src/app/shared/components/project-list/project-list.component.sass b/frontend/src/app/shared/components/project-list/project-list.component.sassindex 452c6df0081..99b906b53f7 100644--- a/frontend/src/app/shared/components/project-list/project-list.component.sass+++ b/frontend/src/app/shared/components/project-list/project-list.component.sass@@ -3,10 +3,14 @@:host,.op-project-list- @include styled-scroll-barflex-shrink: 1flex-basis: 100%+ // Since we are referring to the host element as well we need the complete class name here+ &.op-project-list--root+ overflow-y: auto+ @include styled-scroll-bar+&--item-actiondisplay: flexdiff --git a/frontend/src/app/shared/components/project-list/project-list.component.ts b/frontend/src/app/shared/components/project-list/project-list.component.tsindex 7bc71e789bb..e2d6c78d78b 100644--- a/frontend/src/app/shared/components/project-list/project-list.component.ts+++ b/frontend/src/app/shared/components/project-list/project-list.component.ts@@ -32,7 +32,7 @@ export class OpProjectListComponent {@Output() update = new EventEmitter<string[]>();- @Input() root = false;+ @Input() @HostBinding('class.op-project-list--root') root = false;@Input() projects:IProjectData[] = [];