-
Notifications
You must be signed in to change notification settings - Fork 672
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
USelect and UInputMenu don't support RTL language. #3538
Comments
@malik-jouda any hint on this? |
@benjamincanac @ArbazIrshad
Ensure |
@malik-jouda Weird that it doesn't respect my default (RTL) direction that I have set in my header and I have provide it custom locale for it to work. |
https://reka-ui.com/docs/utilities/config-provider When creating localized apps that require right-to-left (RTL) reading direction, you need to wrap your application with the ConfigProvider component to ensure all of the primitives adjust their behavior based on the dir prop. ![]() ![]() |
Environment
Darwin
v22.9.0
3.16.0
3.22.5
2.11.6
npm@10.8.3
-
devtools
,modules
,i18n
,ssr
,runtimeConfig
,app
,css
,vite
,compatibilityDate
@nuxtjs/i18n@9.3.1
,@nuxt/ui@3.0.0
-
Is this bug related to Nuxt or Vue?
Nuxt
Version
3.0.0-beta.4
Reproduction
Use any RTL language with USelect and UInputMenu component.
Description
Currently, both USelect and UInput Menu don't support rtl direction. The placeholder should be on the right side and the icon on the left side of the field.
In USelect, you can see that even the dropdown is not properly aligned according to language.
While the popover label are aligned properly for UInputMenu, the placeholder and arrow is still not in proper direction.

Same with these tags components, it's direction should be reversed too.

Additional context
No response
Logs
The text was updated successfully, but these errors were encountered: