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

[#59925] fix issue with partial name highlighting

Tobias Dillmannd9eb0ded2189
diff --git a/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter-template.component.sass b/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter-template.component.sass
index 63a32ce2c17..27fbf4d6d07 100644
--- a/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter-template.component.sass
+++ b/frontend/src/app/shared/components/autocompleter/user-autocompleter/user-autocompleter-template.component.sass
@@ -11,3 +11,8 @@
display: block
margin-left: var(--control-small-size)
margin-top: var(--control-xsmall-gap)
+
+// For hover cards to work within the auto completer, we have to ensure that the hover event can be properly
+// triggered when mousing over the name. The easiest way to do this is to set it to inline-block.
+.op-user-autocompleter--name.op-hover-card--preview-trigger
+ display: inline-block