Skip to content
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

Something's up with display "flex" auto-prefix #34

Closed
jossmac opened this issue Nov 13, 2017 · 6 comments
Closed

Something's up with display "flex" auto-prefix #34

jossmac opened this issue Nov 13, 2017 · 6 comments

Comments

@jossmac
Copy link

jossmac commented Nov 13, 2017

Declaring display: flex; on a div returns:

display: -webkit-box,-moz-box,-ms-flexbox,-webkit-flex,flex;

https://www.webpackbin.com/bins/-KynjoyF2whPpxdS-E3m

@jossmac jossmac changed the title Somethings up with display: flex auto-prefixer Something's up with display "flex" auto-prefix Nov 13, 2017
@lesha1201
Copy link

I'm going to fix it.

@dannya
Copy link

dannya commented Jun 28, 2020

@jossmac I'm getting the same issue when using your react-images library - do you know of a workaround for this?

@dannya
Copy link

dannya commented Jun 28, 2020

@lesha1201 for an extra datapoint, I'm seeing this on a h4 element selector, and also when using a standard class selector (like .h4) as well (using Parcel v2 bundler).

@jossmac jossmac closed this as completed Jun 28, 2020
@dannya
Copy link

dannya commented Jun 28, 2020

@jossmac did you close this because it's no longer a problem? If so, I'd very much appreciate a pointer!

@lesha1201
Copy link

@dannya I don't think this project is maintained anymore. Last commit was 3 years ago

@dannya
Copy link

dannya commented Jun 29, 2020

@lesha1201 seems to be the case, sadly.

For anyone who encounters this issue, there is a workaround as described here: jossmac/react-images#382 (comment)

To fix, add space after flex to fix the issue but no prefix is added.
i.e display: 'flex '

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants