Initialize hiding tooltip for links with tooltips when clicked
requested to merge 446165-todos-toggling-a-todo-s-status-causes-its-tooltip-to-jump-to-the-top-left-corner into master
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
- Check out this branch locally
- Go to your Todos
- hover over the "Mark as done" button for a Todo, making sure the tooltip shows
- 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