Skip to content

Is configuration required in ConfigProvider to support rtl? #1138

Answered by sadeghbarati
dungsil asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, based on ConfigProvider source code, the default dir is ltr, you must set dir prop to the component if you want to respect the rtl

This prop is for FloatingUI components like Popover, Menu, and ... for the calculate rtl positions

https://www.radix-vue.com/guides/i18n.html#dynamic-direction

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dungsil
Comment options

Answer selected by dungsil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants