-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[question] No vendor prefixes generated when using withStyles #9293
Comments
@kof Would you be able to take a look at this one please? |
@TheHolyWaffle The prefixes are only added when needed (based on features detection client side). We have already discussed this point in:
The only downside of this approach is that the prefixes need to be added for the server-side rendering: |
Automatic prefixing when needed is not working as expected. I'm trying to use clip-path, which needs to be prefixed in Safari.
When I view my page in Safari and inspect that code, there is no vendor prefix for clip-path. I'm using Material UI core v3.9.0 and JSS v9.8.7 with jss-preset-default. |
This comment has been minimized.
This comment has been minimized.
@depiction I confirm the problem, we miss the clipPath prefix on Safari: https://codesandbox.io/s/o40xvvrq25. Could you open an issue on JSS side? cc @kof. |
Opened an issue |
Hi, Is the issue still exist? We are using version 4.0.2. thank you |
When I make use of the built-in
withStyles
HOC I don't get the automatic vendor prefixing despite the following pieces of documentation claiming otherwise:withStyles
in order to gain the benefit of vendor prefixing.jss-preset-default
which includes thejss-vendor-prefixer
plugin.Expected Behavior
Vendor prefixes should be generated for certain style rules like
display: 'flex'
ortransform: 'translateX(100px)'
Current Behavior
No vendor prefixes are generated
Steps to Reproduce (for bugs)
https://codesandbox.io/s/985r6o933w
Test
.ExampleContainer-root-1
Your Environment
The text was updated successfully, but these errors were encountered: