material-ui
material-ui copied to clipboard
The ListItem's avatar while using RTL theme
Problem description: While using a theme with "isRtl" equal to True, the prop of leftAvatar is actually rightAvatar. It's possible that it is happening in many other components, maybe change the prop the something like primary and secondary so that there will be no confusion.
Steps to reproduce
- Create a ListItem component with leftAvatar propertiy (or RightAvatar)
- feed the component with a muiTheme with "isRtl" equal to True.
Now the avatar will be in the opposite side of the prop's definition.
Versions
- Material-UI: 0.18.7
- React: 15.6.1
- Browser: Chrome 60.0.3112.101
I'm closing for #6874.