Skip to content

[MaterialButton] apply layout direction to button#4944

Closed
ShaiAlkoby wants to merge 1 commit intomaterial-components:masterfrom
ShaiAlkoby:apply-layout-direction-to-icon
Closed

[MaterialButton] apply layout direction to button#4944
ShaiAlkoby wants to merge 1 commit intomaterial-components:masterfrom
ShaiAlkoby:apply-layout-direction-to-icon

Conversation

@ShaiAlkoby
Copy link

@ShaiAlkoby ShaiAlkoby commented Sep 26, 2025

applying layout direction to the button icon to support RTL languages

Thanks for starting a pull request on Material Components!

Don't forget:

Contributing
has more information and tips for a great pull request.

@hunterstich
Copy link
Contributor

Hi!

I believe our buttons and icons in buttons are working correctly. Looking at, #4945, I can use the button you suggest and it will be mirrored properly when switching between LTR and RTL.

See the top button with the "step over" icon in the screenshots:

LTR RTL
Screenshot_20260218_112822 Screenshot_20260218_112833

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[MaterialButton] layout direction not applied to icon

2 participants

Comments