Tabs fullWidth inconsistent with default CSS #11947
Labels
bug 🐛
Something doesn't work
component: tabs
This is the name of the generic UI component, not the React module!
good first issue
Great for first contributions. Enable to learn the contribution process.
Expected Behavior
The
Tab
component has a fullWidth prop, but the defaultmaxWidth
in the component implementation is set to 264pxhttps://github.com/mui-org/material-ui/blob/e221142238ebc5138dbee3c21b05abfbef67489f/packages/material-ui/src/Tab/Tab.js#L14
Current Behavior
Setting the
fullWidth
prop requires the user to also override the root css if they want a tab width bigger than 264pxSteps to Reproduce (for bugs)
Context
The fullWidth prop is deceiving, had to chase down the unexpected behavior in devtools
Your Environment
The text was updated successfully, but these errors were encountered: