angular-ui/ui-grid

[BUG]: RTL column menu wrong positioning

Open

#3 460 ouverte le 9 mai 2015

Voir sur GitHub
 (4 commentaires) (0 réactions) (0 assignés)JavaScript (2 496 forks)batch import
good first issuetype: bug

Métriques du dépôt

Stars
 (5 395 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

Here's the plnkr: http://plnkr.co/edit/MAjaBO3Bpe3mf04JxWpo?p=preview Simply open one of the column menus and see it doesn't show in the right place.

Using this code in the repositionMenu function:

if (column.grid.isRTL()){
        left = positionData.left + positionData.parentLeft+ positionData.width;
}

Seems to fix this.

Guide contributeur