shlomiassaf / ngrid

A angular grid for the enterprise

Home Page:https://shlomiassaf.github.io/ngrid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

group width calculation in RTL mode is invalid

shlomiassaf opened this issue · comments

What is the expected behavior?

When calculating group width in RTL mode the group width's are overflowing the column's and in total overflow their own row container.

What is the current behavior?

Group width's should be the same in RTL and LTR modes.

What are the steps to reproduce?

Go to https://shlomiassaf.github.io/ngrid/demos/infinite-scroll-performance
Toggle RTL to be ON
On the column menu (action row) click "Restore Columns", this will trigger re-calc of all column widths.

Group width's are invalid.

@ronnetzer would you like to take this one? if not i'll do it no problem.

Same problem as #129

Change the app to be RTL first and you'll see it works as expected, toggle back to LTR and you'll see it still 'stuck' in RTL