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

Remove tooltip hack which became obsolete with https://github.com/primer/view_components/commit/87e03ea4dd41822454c72ddb7e55b0aa9294c69c

Henriette Darge7ab11b18ca8d
diff --git a/frontend/src/global_styles/openproject/_primer-adjustments.sass b/frontend/src/global_styles/openproject/_primer-adjustments.sass
index f6ca50ff82d..2b184707dc6 100644
--- a/frontend/src/global_styles/openproject/_primer-adjustments.sass
+++ b/frontend/src/global_styles/openproject/_primer-adjustments.sass
@@ -48,17 +48,6 @@ action-menu
ul.tabnav-tabs
margin-left: 0
-// This fixes the following bug:
-// - https://github.com/primer/view_components/issues/2065
-// - https://community.openproject.org/wp/50782
-// If an icon button triggers a dropdown or dialog, the focus moves to the dropdown/dialog.
-// When we close the dropdown/dialog, the focus moves back to the button and it also triggers
-// displaying the label tooltip. The tooltip also gets stuck open.
-// The solution is to hide the tooltip if the focus was not triggered via a mouse click (:hover)
-// or if it wasn't triggered by the keyboard (:focus-visible).
-button:focus:not(:focus-visible):not(:hover) + tool-tip
- visibility: hidden
-
/* Remove margin-left: 2rem from Breadcrumbs */
#breadcrumb
ol