[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:
committed by
qsm-odoo
parent
b30b591e35
commit
4ce1340f4f
@@ -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'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user