Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linear Progress doesn't change direction when in RTL #15155

Open
didimmova opened this issue Dec 9, 2024 · 2 comments · May be fixed by #15183 or #15184
Open

Linear Progress doesn't change direction when in RTL #15155

didimmova opened this issue Dec 9, 2024 · 2 comments · May be fixed by #15183 or #15184
Assignees
Labels
🐛 bug Any issue that describes a bug linear-progress version: 18.2.x version: 19.0.x version: 19.1.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@didimmova
Copy link
Contributor

Description

When you set the page orientation to Right To Left, the linear progress isn't starting from the right.

Steps to reproduce

  1. Open Linear Progress Sample
  2. Set the orientation to RTL
  3. Set a value for the progress and observe

Result

Screenshot 2024-12-09 at 15 05 25

Expected result

The progress has to start from right to left when in RTL mode, like in WebComponents

@simeonoff
Copy link
Collaborator

Providing a sample of how you change the direction will be of great help.

@didimmova
Copy link
Contributor Author

didimmova commented Dec 10, 2024

Providing a sample of how you change the direction will be of great help.

Screenshot 2024-12-10 at 10 58 02

By setting the [dir] attribute on the body OR html tags to "rtl"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Any issue that describes a bug linear-progress version: 18.2.x version: 19.0.x version: 19.1.x ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
2 participants