-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Toolbar] display:flex is not a string, but an object #4417
Comments
I've traced this problem to inline-style-prefixer, a package material-ui depends on. inline-style-prefixer rewrites styles based on user-agent detection and fails to detect Chromium correctly. The following code, added to any material-ui app and tested in Chromium, demonstrates that inline-style-prefixer generates a list rather than a string: import Prefixer from 'inline-style-prefixer';
console.log(new Prefixer().prefix({display: 'flex'}).display); |
It appears to me, that a fix has been merged into inline-style-prefixer (see robinweser/inline-style-prefixer#84). But at the time of writing, there is no new release published. (Bugfix merged after 1.0.4 release) So we have to wait for a new release for inline-style-prefixer. Right? |
Closing as a duplicate of #5052. |
Problem description
display:flex is an object, instead of a string. Which breaks the flow of the UI. Any idea why? In the example of the documentation flex is a string.
Versions
The text was updated successfully, but these errors were encountered: