[EnhancedButton] Incompatibility with normalize.css 4.0.0
See original GitHub issueProblem Description
In the most recent alpha with the most recent release of normalize.css (4.0.0), EnhancedButtons are styled like actual buttons.
After doing some digging, the problem is with recent changes in both projects. In material-ui, commit 00b6ba1 added passing the type attribute to the inner element, and in normalize.css a recent commit lowered the specificity of a rule giving any element with [type=button]
-webkit-appearance: button
. I’ve already opened an issue in their project but because type is not a valid attribute for span and because lowering the specificity is slightly more performant, they don’t seem to keen on reverting those changes.
Versions
- Material-UI: 0.15.0-alpha.2
- React: 0.14.7
- Browser: Google Chrome 49.0.2623.87 (64-bit)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:18
- Comments:5 (3 by maintainers)
Top Results From Across the Web
[EnhancedButton] Incompatibility with normalize.css 4.0.0 #3764
Problem Description In the most recent alpha with the most recent release of normalize.css (4.0.0), EnhancedButtons are styled like actual buttons.
Read more >material-ui/core/CHANGELOG.md - UNPKG
403, Some interesting CSS-in-JS libraries like styled-components, emotion or linaria ... 1023, - [ToggleButtons] normalize onChange api (#12549) @eps1lon.
Read more >Normalize.css
A modern, HTML5-ready alternative to CSS resets. Normalize.css makes browsers render all elements more consistently and in line with modern standards.
Read more >Update normalize.css to the most recent version - Drupal
Here are the change logs for Normalize.css, starting at 4.0.0 ... theme will continue using normalize.css 3.0.3 for backwards compatibility.
Read more >What is the difference between Normalize.css and Reset CSS?
So, normalize.css does not impose a visual starting point (homogeny) upon you. ... is an in inconsistency in one of the browsers, the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ho my ! I was looking for this for like 2 hours straight ! Thanks a lot to point it out.
This affect list as well.
@5amfung sorry, posted the wrong one: https://github.com/callemall/material-ui/issues/4008