diff --git a/web_src/js/modules/tippy.js b/web_src/js/modules/tippy.js index 3a8c7e09c26b..abae3d33d07d 100644 --- a/web_src/js/modules/tippy.js +++ b/web_src/js/modules/tippy.js @@ -18,8 +18,11 @@ export function createTippy(target, opts = {}) { visibleInstances.delete(instance); }, onShow: (instance) => { + // hide other tooltip instances so only one tooltip shows at a time for (const visibleInstance of visibleInstances) { - visibleInstance.hide(); // hide other instances + if (visibleInstance.role === 'tooltip') { + visibleInstance.hide(); + } } visibleInstances.add(instance); },