Mahdi
Mahdi

Reputation: 755

Angular Ui-Grid scroll not work in RTL

when the grid has scroll in RTL and in Google Chrome there is issues:

but there is not a problem in Firefox

also column menu position is false (both Chrome and Firefox) I checked it in version 4.0.4

you can check it in tutorial: RTL Support

Upvotes: 1

Views: 578

Answers (1)

hvojdani
hvojdani

Reputation: 470

chrome 58 bug for scroll calculation: https://bugs.chromium.org/p/chromium/issues/detail?id=720227 change that caused the bug: https://codereview.chromium.org/2716583002

as temporary solution for chrome 58 bug, put this hack after line 11562 of ui-grid.js

    //chrome 58 bug resolve
    var isChrome = /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor);
    if (isChrome) {
        type = "dafault";
    }

Upvotes: 0

Related Questions