Skip to content
Snippets Groups Projects
Commit d021f425 authored by Jason Van Malder's avatar Jason Van Malder
Browse files

[FIX] web: fix RTL pivot view dropdown

Reproduce the issue

    - Load Arabic language
    - Install Sales
    - Report > Sales
    - Switch to arabic
    - Click on the pivot view to display the dropdown

    The dropdown position is incorrect

Cause

    The calculations are based on a `left` value who is weird.

This commit use the mouse X position to compute the `left` value.

OPW-2146210
parent 31bf2531
No related branches found
No related tags found
No related merge requests found
......@@ -291,7 +291,7 @@ var PivotController = AbstractController.extend({
} else {
var position = $target.position();
var top = position.top + $target.height();
var left = position.left + ev.offsetX;
var left = ev.clientX;
this._renderGroupBySelection(top, left);
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment