Skip to content
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

[Tabs] Fix transition when isRtl is used #6737

Merged
merged 5 commits into from
Apr 29, 2017
Merged

[Tabs] Fix transition when isRtl is used #6737

merged 5 commits into from
Apr 29, 2017

Conversation

jony89
Copy link
Contributor

@jony89 jony89 commented Apr 29, 2017

transition is not done when switching between tabs and using rtl language.

reproduce at :

https://www.webpackbin.com/bins/-KiuaII_oSPJvhM1Gn7H

Copy link
Member

@oliviertassinari oliviertassinari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 👍 .

@@ -4,6 +4,7 @@ import transitions from '../styles/transitions';

function getStyles(props, context) {
const {inkBar} = context.muiTheme;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

   const {inkBar, isRtl} = context.muiTheme;

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: tabs This is the name of the generic UI component, not the React module! labels Apr 29, 2017
@oliviertassinari oliviertassinari changed the title fixing tabs transition when isRtl is used [Tabs] Fix transition when isRtl is used Apr 29, 2017
@mbrookes
Copy link
Member

Looks good. Thanks @jony89!

@mbrookes mbrookes merged commit 22572c5 into mui:master Apr 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: tabs This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants