From 30f02b9f980ead2ad569ea173dafed9a6df6cebd Mon Sep 17 00:00:00 2001 From: "Lucas Perais (lpe)" Date: Wed, 30 Oct 2019 17:19:39 +0100 Subject: [PATCH] [FIX] web: dropdowns can't be in a relative-positioned element Before this commit, when a dropdown overflew its container i.e. in the case of a long filter menu in modal The scrolling of that dropdown to get to Add custom Filter was impossible This was because dropdowns react pretty bad when contained in a relative positioned container https://github.com/twbs/bootstrap/issues/26512 https://github.com/twbs/bootstrap/issues/28513 !! After this commit, the btn-group that adds the relative positioning is forced into the default value This commit corrects what was initially corrected at https://github.com/odoo/odoo/pull/37594 in v12.0. The incriminating commit that retriggers the issue is irrelevant because it is the refactoring of action manager but here it is: 40dd121938552d3f88289d2e5fcd1d57a0dd01bb --- addons/web/static/src/xml/base.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 49ab5984486a6..f249953f2baef 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -195,7 +195,7 @@