-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Labels
breaking changeIntroduces changes that are not backward compatible.Introduces changes that are not backward compatible.component: CssBaselineThe React component.The React component.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.
Milestone
Description
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
All body2 styling is applied to the body element
Expected Behavior 🤔
Not applying all body2 styling to the body element
Steps to Reproduce 🕹
Steps:
- In the theme, specify any styling for body2 component (for example
overflow: hidden;) overflow: hidden;is applied to the body tag
Context 🔦
This issue caused us to have to remove CssBaseline that we used because of hidden dependency on body2 typography styling and fall back to specifying css overrides / base styling through styled-components.
It would be a good idea to mention this in the documentation in migrating from v3 to v4 article as it's a breaking change.
Your Environment 🌎
| Tech | Version |
|---|---|
| Material-UI | v4.3.3 |
| React | 16.9.0 |
| Browser | N/A |
| TypeScript | 3.5.3 |
oliviertassinari
Metadata
Metadata
Assignees
Labels
breaking changeIntroduces changes that are not backward compatible.Introduces changes that are not backward compatible.component: CssBaselineThe React component.The React component.type: new featureExpand the scope of the product to solve a new problem.Expand the scope of the product to solve a new problem.