From 734b41e5bd2a9bfd908ad8cbfbc50158205322e5 Mon Sep 17 00:00:00 2001 From: Beta Bilim Date: Wed, 14 Jun 2023 03:55:48 +0400 Subject: [PATCH] prevent tooltip to appear if the binded element is removed from DOM --- components/lib/tooltip/Tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/tooltip/Tooltip.js b/components/lib/tooltip/Tooltip.js index 1ef657fc3..d03267da4 100755 --- a/components/lib/tooltip/Tooltip.js +++ b/components/lib/tooltip/Tooltip.js @@ -88,7 +88,7 @@ function onKeydown(event) { } function tooltipActions(el) { - if (el.$_ptooltipDisabled) { + if (el.$_ptooltipDisabled || !DomHandler.isExist(el) ) { return; }