You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Slider has an observable property direction this also need to be set in order for the slider to orient the correct direction.
The Slider also uses a linear gradient for the host background that sets the first portion of the slider progress to the blue color This updates based on docuemnt.dir
So, there is no bug here. It's a combination of setting document.dir and direction on the slider itseld.
Component
Slider
Package version
3.0.0-beta.70
@microsoft/fast-element version
2.0.0
Environment
Current Behavior
Fluent slilder is rendered left to right even though browser language is RTL.
Expected Behavior
Fluent slider should be rendered from right to left.
Reproduction
https://stackblitz.com/edit/typescript-g4lxnlbp?file=index.html,index.ts
Steps to reproduce
Are you reporting an Accessibility issue?
no
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
yes
Validations
The text was updated successfully, but these errors were encountered: