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
Text renders starting from the left in a FluentProvider whose dir="rtl" is set together with griffel styling classes.
According to example code in #23821, I've added a TextDirectionProvider with dir="rtl" outside FluentProvider. But nothing changes.
Expected Behavior
Text renders starting from the right in a FluentProvider whose dir="rtl" is set together with griffel styling classes.
I have simulated the expected behavior by adding css style to FluentProvider in the code sandbox. But I suppose it is a less elegent way than using griffel.
Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
The provided reproduction is a minimal reproducible example of the bug.
The text was updated successfully, but these errors were encountered:
Library
React Components / v9 (@fluentui/react-components)
System Info
Are you reporting Accessibility issue?
no
Reproduction
https://codesandbox.io/s/wonderful-kalam-rgs5jv
Bug Description
Actual Behavior
Text renders starting from the left in a
FluentProvider
whosedir="rtl"
is set together with griffel styling classes.According to example code in #23821, I've added a
TextDirectionProvider
withdir="rtl"
outsideFluentProvider
. But nothing changes.Expected Behavior
Text renders starting from the right in a
FluentProvider
whosedir="rtl"
is set together with griffel styling classes.I have simulated the expected behavior by adding css style to
FluentProvider
in the code sandbox. But I suppose it is a less elegent way than using griffel.Logs
No response
Requested priority
Blocking
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: