Skip to content
Snippets Groups Projects
user avatar
Achraf (abz) authored
When a componentes is in a modal and uses the positioning hook (filter dropdown in the Search More modal for example), it will shifted from the toggler button.
This is due to a `-webkit-transform: translate3d (0, 0, 0);` applied on the `modal-body`
which influences the `position: fixed` attribute of `.o-popper-position` in the `dropdown-menu`

"It is positioned relative to the initial containing block established by the viewport,
except when one of its ancestors has a transform, perspective,
or filter property set to something other than none (see the CSS Transforms Spec),
in which case that ancestor behaves as the containing block. "

See: https://developer.mozilla.org/en-US/docs/Web/CSS/position

the translate3d was applied with https://github.com/odoo/odoo/pull/20314


As the bug is no longer exists, we can remove this style.

opw-2668638

closes odoo/odoo#78736

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
1f86e285
History
Name Last commit Last update