You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the Litho Image component does not honor the autoMirrored attribute on vector drawables when rendering, which results in drawables not getting mirrored when layout direction is RTL (I've reproduced it by forcing RTL layout in Android developer settings -> Force RTL layout direction).
Expected Behavior
The automirrored vector drawable should be mirrored when using an RTL language or when forcing RTL layout via Android developer settings.
Code
Minimal component that can be used to reproduce the issue:
Hey @Fs00, thanks for the report and simple repro. I'll put this on our backlog, however we would also take a PR if you're interested in tackling it yourself.
Version
Excerpt of my app's build.gradle file:
Issues and Steps to Reproduce
It seems that the Litho
Image
component does not honor theautoMirrored
attribute on vector drawables when rendering, which results in drawables not getting mirrored when layout direction is RTL (I've reproduced it by forcing RTL layout in Android developer settings -> Force RTL layout direction).Expected Behavior
The automirrored vector drawable should be mirrored when using an RTL language or when forcing RTL layout via Android developer settings.
Code
Minimal component that can be used to reproduce the issue:
The automirrored vector drawable referenced by the component (placed in res/drawable/ic_back.xml):
The text was updated successfully, but these errors were encountered: