angular-ui/ui-grid

[BUG]: RTL column menu wrong positioning

Open

#3.460 geöffnet am 9. Mai 2015

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.496 Forks)batch import
good first issuetype: bug

Repository-Metriken

Stars
 (5.395 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide