Material-ui: Long tab names don't wrap in IE11

Created on 13 Oct 2018  路  4Comments  路  Source: mui-org/material-ui

  • [x] This is not a v0.x issue.
  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Long tab names should wrap in Internet Explorer 11.

Current Behavior

Long tab names don't wrap.

Steps to Reproduce

Viewing the Material UI tabs with wrapped fields demo in IE11 immediately shows the issue.

https://material-ui.com/demos/tabs/

Context

A slim majority of our users are corporate users who are required to use IE11, so it's important for us to have as much visual parity as possible between IE11 and non-IE11 browsers.

Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | v1.3.0 |
| React | |
| Browser | |
| TypeScript | |
| etc. | |

bug 馃悰 good first issue

All 4 comments

@amysutedja Nice catch, you should be able to add width: 100% to this style rule in order to solve the problem:
https://github.com/mui-org/material-ui/blob/5c70845cc4d60918c528f3aa58416ed8851a259c/packages/material-ui/src/Tab/Tab.js#L82
Do you want to work on it? :)

P.S. it seems we are using more divs than needed. We could try to remove some intermediate elements.

I can pick this up if that's ok

Sure :)

Got a pull request here. #13230
I've not done one of these before so not sure if it's done right. Looks like it's failed its CI but I think that's expected due to the change.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sjstebbins picture sjstebbins  路  71Comments

amcasey picture amcasey  路  70Comments

damianobarbati picture damianobarbati  路  55Comments

iceafish picture iceafish  路  62Comments

NonameSLdev picture NonameSLdev  路  56Comments