-
-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
[Bug] Arrows , Chevrons and Panel icons direction is wrong in RTL languages #6016
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
@alirezaImani-f4L3e Hello there! I'm here to assist you with any bugs, questions, or contributions you may have. Let's tackle this together! The issue with directional icons not adapting correctly to RTL languages can be addressed by ensuring that the icons are conditionally rendered based on the text direction. In the codebase, the directional icons are styled to adapt to RTL languages by checking the <Icon
color={theme.colorTextQuaternary}
icon={direction === 'rtl' ? LucideSquareArrowLeft : LucideSquareArrowRight}
size={'large'}
/> Ensure that similar conditional logic is applied wherever directional icons are used, so they render correctly for RTL languages [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
The issue with directional icons not adapting correctly to RTL languages can be addressed by ensuring that the icons are conditionally rendered based on the text direction. In the codebase, the directional icons are styled to adapt to RTL languages by checking the <Icon
color={theme.colorTextQuaternary}
icon={direction === 'rtl' ? LucideSquareArrowLeft : LucideSquareArrowRight}
size={'large'}
/> Ensure that similar conditional logic is applied wherever directional icons are used, so they render correctly for RTL languages [1]. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
📦 Environment
Docker
📌 Version
1.52.x
💻 Operating System
macOS
🌐 Browser
Chrome
🐛 Bug Description
Arrow , Chevrons and Panel icons direction is wrong when user using RTL languages .
📷 Recurrence Steps
Turn the application language to a RTL language like Arabic or Persian .
🚦 Expected Behavior
Directional icons that are sensitive to orientation should adapt when changing the language.
📝 Additional Information
No response
The text was updated successfully, but these errors were encountered: