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

Move data-searchable-list-parent out of drop-modal

Oliver Güntherc6a78b4afc2e
diff --git a/frontend/src/app/shared/components/header-project-select/header-project-select.component.html b/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
index 55f87bb83be..b91b0e1cd5f 100644
--- a/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
+++ b/frontend/src/app/shared/components/header-project-select/header-project-select.component.html
@@ -4,7 +4,6 @@
(closed)="close()"
alignment="bottom-left"
class="op-project-list-modal"
- data-searchable-list-parent="true"
>
<button
id="projects-menu"
@@ -31,6 +30,7 @@
</div>
<div
class="op-project-list-modal--body spot-container"
+ data-searchable-list-parent="true"
*ngIf="projects$ | async as projects"
>
<spot-text-field
diff --git a/frontend/src/app/shared/components/project-include/project-include.component.html b/frontend/src/app/shared/components/project-include/project-include.component.html
index ab85fa17e08..984195def62 100644
--- a/frontend/src/app/shared/components/project-include/project-include.component.html
+++ b/frontend/src/app/shared/components/project-include/project-include.component.html
@@ -3,7 +3,6 @@
alignment="bottom-right"
(closed)="opened = false"
class="op-project-list-modal"
- data-searchable-list-parent="true"
>
<button
slot="trigger"
@@ -33,6 +32,7 @@
<form
(submit)="onSubmit($event)"
class="spot-container op-project-list-modal--body"
+ data-searchable-list-parent="true"
*ngIf="projects$ | async as projects"
>
<spot-text-field
diff --git a/frontend/src/app/spot/components/drop-modal/stories/DropModalList.component.html b/frontend/src/app/spot/components/drop-modal/stories/DropModalList.component.html
index e94783b3a1d..c7aabde90d3 100644
--- a/frontend/src/app/spot/components/drop-modal/stories/DropModalList.component.html
+++ b/frontend/src/app/spot/components/drop-modal/stories/DropModalList.component.html
@@ -3,7 +3,6 @@
(closed)="close()"
[alignment]="alignment"
class="op-project-list-modal"
- data-searchable-list-parent="true"
>
<button
aria-haspopup="true"
@@ -15,7 +14,8 @@
</button>
<ng-container slot="body">
- <div class="spot-container">
+ <div class="spot-container"
+ data-searchable-list-parent="true">
<ul class="spot-list">
<li class="spot-list--item">
<button type="button" class="spot-list--item-action">Random Option 1</button>