Merge pull request #3391 from node-red-hitachi/fix-hide-flow-tooltip

fix to hide tooltip after removing subflow tab
This commit is contained in:
Nick O'Leary
2022-02-09 19:44:05 +00:00
committed by GitHub

View File

@@ -350,6 +350,15 @@ RED.popover = (function() {
} }
} }
target.on("remove", function (ev) {
if (timer) {
clearTimeout(timer);
}
if (active) {
active = false;
setTimeout(closePopup,delay.hide);
}
});
if (trigger === 'hover') { if (trigger === 'hover') {
target.on('mouseenter',function(e) { target.on('mouseenter',function(e) {
clearTimeout(timer); clearTimeout(timer);