mirror of
https://github.com/directus/directus.git
synced 2026-04-03 03:00:39 -04:00
Merge pull request #63 from directus/tooltip
fix tooltip showing when element is deleted
This commit is contained in:
@@ -20,6 +20,7 @@ export function onEnterTooltip(element: HTMLElement, binding: DirectiveBinding)
|
||||
animateIn(tooltip);
|
||||
updateTooltip(element, binding, tooltip);
|
||||
} else {
|
||||
clearTimeout(tooltipTimer);
|
||||
tooltipTimer = window.setTimeout(() => {
|
||||
animateIn(tooltip);
|
||||
updateTooltip(element, binding, tooltip);
|
||||
|
||||
Reference in New Issue
Block a user