From 4ce1340f4f2bfb0adfbb56b59a9617a8624bd742 Mon Sep 17 00:00:00 2001 From: "Okan SUMER (osu)" Date: Tue, 10 Mar 2020 08:59:12 +0000 Subject: [PATCH] [FIX] web_tour: fix tip ideal location This commit adds the case where the overflow of an anchor ancestor is 'hidden auto' and not only 'hidden'. Part of https://github.com/odoo/odoo/pull/48678 task-2228694 --- addons/web_tour/static/src/js/tip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web_tour/static/src/js/tip.js b/addons/web_tour/static/src/js/tip.js index a33169c37be..6ccdb7b387c 100644 --- a/addons/web_tour/static/src/js/tip.js +++ b/addons/web_tour/static/src/js/tip.js @@ -137,7 +137,7 @@ var Tip = Widget.extend({ $location.hasClass('dropdown-menu') || $location.hasClass('o_notebook_headers') || ( - (o === "visible" || o === "hidden") && + (o === "visible" || o.includes("hidden")) && // Possible case where the overflow = "hidden auto" p !== "fixed" && $location[0].tagName.toUpperCase() !== 'BODY' )