question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[question] No vendor prefixes generated when using withStyles

See original GitHub issue

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:

  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Vendor prefixes should be generated for certain style rules like display: 'flex' or transform: 'translateX(100px)'

Current Behavior

No vendor prefixes are generated

Steps to Reproduce (for bugs)

https://codesandbox.io/s/985r6o933w

  1. Inspect the element Test
  2. Notice that no vendor prefixes are generated when looking at the class .ExampleContainer-root-1

Your Environment

Tech Version
Material-UI 1.0.0 beta 21
React 16.1.1
browser Chrome 62

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
oliviertassinaricommented, Feb 13, 2019

@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.

0reactions
acejusto11commented, Aug 13, 2019

Hi, Is the issue still exist? We are using version 4.0.2. thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

[question] No vendor prefixes generated when using withStyles
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...
Read more >
YUI3 (JS) setStyle using vendor prefixes - Stack Overflow
Use camel case. When DOM scripting, style properties should always be set using camelCase. Webkit is lax about that and violates spec. Y.one('#mydiv')....
Read more >
How To Style React Components | DigitalOcean
In this tutorial, you'll learn three different ways to style React components: plain Cascading Style Sheets (CSS), inline styles with ...
Read more >
Untitled
Created with inspiration from Google's Material Design, ... makeStyles: fix sequence prefix not to collide with CSS modules-generated classes #19724.
Read more >
at-rule-no-vendor-prefix - Stylelint
Disallow vendor prefixes for at-rules. ... However, it will not remove duplicate at-rules produced when the prefixes are removed. You can use Autoprefixer ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found