angular-ui/ui-grid

[BUG]: RTL column menu wrong positioning

Open

#3.460 aberto em 9 de mai. de 2015

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (2.496 forks)batch import
good first issuetype: bug

Métricas do repositório

Stars
 (5.395 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador