Skip to content

Conversation

soujay
Copy link
Contributor

@soujay soujay commented Sep 2, 2025

Menu icons were expected to show tooltips via the 'title' prop passed to the FontAwesome Vue component. However, the internal SVG <title> tag did not trigger native browser tooltips as intended.
This PR replaces the use of 'title' with Tippy.js to ensure consistent tooltip behavior across browsers and improve accessibility. Tooltips now appear reliably on hover.

@danielmarbach danielmarbach added the Type: Improvement Type: Improvement label Sep 3, 2025
@danielmarbach danielmarbach added this to the 2.3.0 milestone Sep 3, 2025
@soujay soujay added Type: Bug Type: Bug and removed Type: Improvement Type: Improvement labels Sep 4, 2025
@danielmarbach
Copy link
Contributor

Nice didn't know we had this installed

Copy link
Contributor

@danielmarbach danielmarbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Relatively new to this, so be patient with me ;)

Isn't this the correct syntax?

@soujay soujay changed the title Add the title HTML attribute in the ServicePulse menu. Menu icon tooltips not displaying as expected via FontAwesome title attribute Sep 4, 2025
@soujay soujay merged commit 632c095 into master Sep 4, 2025
5 checks passed
@soujay soujay deleted the menu-tooltips branch September 4, 2025 13:54
@PhilBastian
Copy link
Contributor

i realise it has already been merged, but it makes more sense to me to leave the prop on FAIcon as title, and have the FAIcon component turn that into a v-tippy attribute on the actual FontAwesomeIcon

@danielmarbach
Copy link
Contributor

@PhilBastian That makes sense from an encapsulation perspective 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants