Skip to content

Initialize hiding tooltip for links with tooltips when clicked

What does this MR do and why?

When an element that matches the CSS selector a.has-tooltip is clicked, hide any tooltips attached to it.

Fixes TODOs > Toggling a todo's status causes its too... (#446165 - closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

How to set up and validate locally

  1. Check out this branch locally
  2. Go to your Todos
  3. hover over the "Mark as done" button for a Todo, making sure the tooltip shows
  4. Click the button

You will see that the tooltip disappears as expected and does not appear in the top left corner of the window briefly.

Related to #446165 (closed), #425467 (closed)

Edited by Chad Lavimoniere

Merge request reports