Material: progress-linear: should be mirrored when page direction is RTL

Created on 22 Jul 2017  路  3Comments  路  Source: angular/material

Actual Behavior:

  • What is the issue?
    Linear progress doesn't change direction on RTL pages.
  • What is the expected behavior?
    When direction is RTL, progress should be represented as filling from right to left.

CodePen:
https://codepen.io/anon/pen/RZbJVe

AngularJS Versions: *

  • AngularJS Version: Latest
  • AngularJS Material Version: Latest

Additional Information:

  • Browser Type: All
  • Browser Version: All
  • OS: All
minor external contributor Pull Request bi-directional fixed bug

All 3 comments

You can use this temporary solution in rtl pages:
md-progress-linear { transform: scale(-1, -1); }

Yep, that's just what I did :)

It is still a problem in 1.1.21 for both linear and circular progress indicators.
I created CodePen showing both.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

epelc picture epelc  路  3Comments

rtprakash picture rtprakash  路  3Comments

chriseyhorn picture chriseyhorn  路  3Comments

rdantonio picture rdantonio  路  3Comments

ghost picture ghost  路  3Comments