Describe the feature in detail (code, mocks, or screenshots encouraged)
As I've been migration from v2, I've noticed just a couple things regarding RTL support.
- Some components appear to always set
dir="ltr" rather than inheriting the dir from the HTML doc. Ones that I've observed: Tabs and Toast
- The
table styles set text-align: left for headers. This should use text-align: start in order to support dir out of the box
There may be others and it's probably worth doing a more comprehensive audit of the components and styles. I think in general, the components should not have a default dir and rather inherit the property from an outer element (in my case, the root element), though allowing it to be overridden is great.
Provide relevant links, wireframes, prototypes, or additional information.
No response
Describe the feature in detail (code, mocks, or screenshots encouraged)
As I've been migration from v2, I've noticed just a couple things regarding RTL support.
dir="ltr"rather than inheriting the dir from the HTML doc. Ones that I've observed: Tabs and Toasttablestyles settext-align: leftfor headers. This should usetext-align: startin order to supportdirout of the boxThere may be others and it's probably worth doing a more comprehensive audit of the components and styles. I think in general, the components should not have a default
dirand rather inherit the property from an outer element (in my case, the root element), though allowing it to be overridden is great.Provide relevant links, wireframes, prototypes, or additional information.
No response