Do not show tooltips immediately

Removes the `show: true` option from the tooltips facade as it was
causing HAML-based tooltips to appear immediately on their first
trigger, not honoring the global delay set in GitLab UI's config.
parent 69f6e347
......@@ -44,10 +44,7 @@ const addTooltips = (elements, config) => {
const handleTooltipEvent = (rootTarget, e, selector, config = {}) => {
for (let { target } = e; target && target !== rootTarget; target = target.parentNode) {
if (isTooltip(target, selector)) {
addTooltips([target], {
show: true,
...config,
});
addTooltips([target], config);
break;
}
}
......
---
title: Ensure all tooltips appear with a 500ms delay
merge_request: 59561
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment