Follow-up from "Unify the more actions kebab menu tooltip behavior"
It seems tooltips on the various GlDropdowns are tricky (see gitlab!147540 (merged)) for a list of issues.
What can be seen below is that when the dropdown is shown, the tooltip initially disappears, only to re-appear a bit later. The intention is that the tooltip remains hidden while the dropdown is open.
We should provide some functionality within the various dropdowns to encapsulate the fix for this behaviour so new instances don't have to worry about getting it right. At the moment, the workaround introduced in gitlab!147540 (merged) is to listen to the shown
and hidden
events of the GlDisclosureDropdown and depending on those clear or set the tooltip. This logic has been replicated in a couple components.
Edited by Lorenz van Herwaarden