From fac1d6df489997a96cb404166ea5054ef02745cf Mon Sep 17 00:00:00 2001 From: silverwind Date: Fri, 19 May 2023 21:46:08 +0200 Subject: [PATCH] Fix duplicate tooltip hiding --- web_src/js/modules/tippy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/modules/tippy.js b/web_src/js/modules/tippy.js index abae3d33d07d0..df2143b0ef184 100644 --- a/web_src/js/modules/tippy.js +++ b/web_src/js/modules/tippy.js @@ -20,7 +20,7 @@ export function createTippy(target, opts = {}) { onShow: (instance) => { // hide other tooltip instances so only one tooltip shows at a time for (const visibleInstance of visibleInstances) { - if (visibleInstance.role === 'tooltip') { + if (visibleInstance.props.role === 'tooltip') { visibleInstance.hide(); } }