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

[#61126] css > js

Tobias Dillmann88a0206edad0
diff --git a/frontend/src/app/core/setup/globals/global-listeners/hover-card-trigger.service.ts b/frontend/src/app/core/setup/globals/global-listeners/hover-card-trigger.service.ts
index a4f7d587eb4..e5f9d67e909 100644
--- a/frontend/src/app/core/setup/globals/global-listeners/hover-card-trigger.service.ts
+++ b/frontend/src/app/core/setup/globals/global-listeners/hover-card-trigger.service.ts
@@ -121,13 +121,10 @@ export class HoverCardTriggerService {
this.isShowingHoverCard = true;
this.previousTarget = targetEl;
- this.setOpacity(popover, 0);
-
turboFrame.addEventListener('turbo:frame-load', () => {
void this.reposition(popover, targetEl);
// Content has been loaded, card has been positioned. Show it!
- this.setOpacity(popover, 1);
popover.showPopover();
});
}
diff --git a/frontend/src/app/spot/styles/sass/components/modal-overlay.sass b/frontend/src/app/spot/styles/sass/components/modal-overlay.sass
index c511cdc9072..c8b82fba3ff 100644
--- a/frontend/src/app/spot/styles/sass/components/modal-overlay.sass
+++ b/frontend/src/app/spot/styles/sass/components/modal-overlay.sass
@@ -20,6 +20,10 @@
box-shadow: var(--shadow-floating-medium)
padding: var(--overlay-paddingBlock-normal)
border-radius: var(--overlay-borderRadius)
+ opacity: 0
+
+ &:popover-open
+ opacity: 1
.spot-modal-overlay
position: fixed