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

[#55581] ensure hover card is rendered in front of modals

Tobias Dillmann324679339c73
diff --git a/app/components/shares/manage_shares_component.html.erb b/app/components/shares/manage_shares_component.html.erb
index f3903db5d4d..a584ee90d85 100644
--- a/app/components/shares/manage_shares_component.html.erb
+++ b/app/components/shares/manage_shares_component.html.erb
@@ -107,6 +107,6 @@
end
modal_content.with_row do
- helpers.angular_component_tag 'opce-custom-modal-overlay'
+ helpers.angular_component_tag 'opce-custom-modal-overlay', class: 'op-user-share-modal-overlay'
end
%>
diff --git a/app/components/users/hover_card_component.sass b/app/components/users/hover_card_component.sass
index 174d21787de..432b2f0b0b7 100644
--- a/app/components/users/hover_card_component.sass
+++ b/app/components/users/hover_card_component.sass
@@ -1,3 +1,9 @@
+// When displaying the hover card on top of an existing modal, we must
+// set the z-index so that the hover card stays in the front.
+.op-user-share-modal-overlay
+ z-index: 9600
+ position: absolute
+
.op-user-hover-card
gap: 1rem
overflow: hidden