-
Notifications
You must be signed in to change notification settings - Fork 26
Menu icon tooltips not displaying as expected via FontAwesome title attribute #2615
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Nice didn't know we had this installed |
There was a problem hiding this 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?
src/Frontend/src/components/configuration/ConfigurationMenuItem.vue
Outdated
Show resolved
Hide resolved
src/Frontend/src/components/customchecks/CustomChecksMenuItem.vue
Outdated
Show resolved
Hide resolved
src/Frontend/src/components/failedmessages/FailedMessagesMenuItem.vue
Outdated
Show resolved
Hide resolved
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 |
@PhilBastian That makes sense from an encapsulation perspective 👍 |
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.