Material: select: position is calculated incorrectly in rtl when long label is used

Created on 12 Feb 2017  路  4Comments  路  Source: angular/material

When the label text is longger than all the option texts the position is wrongly calcualted in RTL.
http://codepen.io/anon/pen/mRarGr

screenshot from 2017-02-12 14-08-06

Strangely, reopening of the dropdown fixes the position calculation (Or any other action that causes recalculation).

important external contributor Pull Request fixed bug

All 4 comments

@ThomasBurleson @topherfangio this probably would be solved if we'd convert select to use panel.. thoughts?

It's likely. I'd love to see the Select (and other components) get converted to Panel.

It is still a problem in version 1.1.21: CodePen

Was this page helpful?
0 / 5 - 0 ratings