[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
This commit is contained in:
Okan SUMER (osu)
2020-04-14 08:29:56 +00:00
committed by qsm-odoo
parent b30b591e35
commit 4ce1340f4f
+1 -1
View File
@@ -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'
)