paypal / glamorous

DEPRECATED: 💄 Maintainable CSS with React
https://glamorous.rocks
MIT License
3.64k stars 208 forks source link

overflowStyle not applied in IE 11 #400

Closed screendriver closed 6 years ago

screendriver commented 6 years ago

Relevant code.

const MyComponent = glamorous.div({
  overflowStyle: 'none',
  '-ms-overflow-style': 'none',
});

What you did:

I want to apply the styles written above. But unfortunately overflowStyle will not be applied in IE 11. Instead I have to write manually '-ms-overflow-style': 'none' (as you can see in the last line). Shouldn't browser prefixes be done automatically in glamorous or glamor?

What happened:

When I just write overflowStyle: 'none' without '-ms-overflow-style': 'none' then nothing will be applied in IE 11. In Chrome conversely I can see a overflow-style: 'none' (with a warning that this property is not supported, but that's ok here)

kentcdodds commented 6 years ago

Hi @screendriver,

Yes, glamor should be auto-prefixing. That's done by this project: https://github.com/rofrischmann/inline-style-prefixer

So could you file this issue over there please? Thanks!

screendriver commented 6 years ago

Ok. Thank you for the quick response 👍