From e554f5688c2cb04bb90ef4c8d3dc732b1ffdb24a Mon Sep 17 00:00:00 2001 From: fdardenne Date: Thu, 12 Jan 2023 13:57:50 +0000 Subject: [PATCH] [FIX] web: list view: make the scrollbar above the thead in safari Since odoo/odoo#107631, in Safari (version tested 15.6.1), the scrollbar stayed below the list view thead and thus looked glitchy. Now, the scrollbar stays above the sticky thead. The fix applied is documented in this stackoverflow thread The fix applied is described in this stackoverflow thread: https://stackoverflow.com/questions/20832531/mobile-safari-positionfixed-z-index-glitch-when-scrolling closes odoo/odoo#109773 Signed-off-by: Aaron Bohy (aab) --- addons/web/static/src/views/list/list_renderer.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/web/static/src/views/list/list_renderer.scss b/addons/web/static/src/views/list/list_renderer.scss index 3977ed61ed6..4c61ad31824 100644 --- a/addons/web/static/src/views/list/list_renderer.scss +++ b/addons/web/static/src/views/list/list_renderer.scss @@ -19,6 +19,8 @@ .o_list_view & { --ListRenderer-table-padding-h: #{$o-horizontal-padding}; + // So the scrollbar does not stay below the thead in Safari + transform: translate3d(0,0,0); } .o_list_table {