We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
0.11.0
Chrome
macOS 10.12.4
Margins and padding would be the same but reversed horizontally in RTL contexts
lists are pushed to the left in RTL
LTR
RTL
The text was updated successfully, but these errors were encountered:
It seems to be caused by mdc-list-item.mdc-ripple-upgraded and in particular by line 164 and line 166.
mdc-list-item.mdc-ripple-upgraded
In fact if we remove both, the behavior is the same as the LTR context.
Sorry, something went wrong.
@robzenn92 correct!
Marking this as help wanted.
The offending code is https://github.com/material-components/material-components-web/blob/master/packages/mdc-list/mdc-list.scss#L164 and can be fixed by using mdc-rtl-reflexive-position
@include mdc-rtl-reflexive-position(left, $mdc-list-side-padding * -1);
fix(list): Properly position interactive list items in RTL context (#746
ae4e87f
) Fixes #725
00b8524
Successfully merging a pull request may close this issue.
What MDC-Web Version are you using?
0.11.0
What browser(s) is this bug affecting?
Chrome
What OS are you using?
macOS 10.12.4
What are the steps to reproduce the bug?
What is the expected behavior?
Margins and padding would be the same but reversed horizontally in RTL contexts
What is the actual behavior?
lists are pushed to the left in RTL
Any other information you believe would be useful?
The text was updated successfully, but these errors were encountered: