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 |
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:
overflow: hidden;)overflow: hidden;is applied to the body tagContext 🔦
This issue caused us to have to remove
CssBaselinethat 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 🌎