diff --git a/addons/web/static/src/less/list_view.less b/addons/web/static/src/less/list_view.less index 4a5429c6de2..dfe284a380e 100644 --- a/addons/web/static/src/less/list_view.less +++ b/addons/web/static/src/less/list_view.less @@ -112,6 +112,14 @@ position: relative; padding: 0; + // The in-edition elements will overflow other elements (the rows below, + // the content below the list view, ...). As those might be using + // position: relative, the in-edition elements have to define a z-index. + // Technically, creating a stacking context for a meaningful parent + // (maybe the .o_content) might be required for safety but we should + // consider this later if needed. + z-index: 1; + // Field widgets override > .o_field_widget { .o-position-absolute(0, 0, auto, 0);