From 989df08fd8bbfa4a1f05784b599b1657a9b28fe5 Mon Sep 17 00:00:00 2001
From: jbm-odoo <jbm@odoo.com>
Date: Tue, 24 Sep 2019 14:37:57 +0000
Subject: [PATCH] [FIX] web pivot: Fix open position of selection

Description of the issue/feature this PR addresses:
In pivot, when we click on '+', it must open the selection box at
the point where we click.

Current behavior before PR:
The box opens at the top of the page

Desired behavior after PR is merged:
The box opens at the point where we click

id=2066675

closes odoo/odoo#37385

Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
---
 addons/web/static/src/scss/pivot_view.scss | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/addons/web/static/src/scss/pivot_view.scss b/addons/web/static/src/scss/pivot_view.scss
index ada67f4edfa9..d67607fe558c 100644
--- a/addons/web/static/src/scss/pivot_view.scss
+++ b/addons/web/static/src/scss/pivot_view.scss
@@ -91,6 +91,10 @@
         }
     }
 
+    .o_field_selection {
+        position: absolute;
+    }
+
     .o_pivot_field_selection::after {
         @include o-caret-right;
         position: absolute;
-- 
GitLab