-
Notifications
You must be signed in to change notification settings - Fork 200
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
Add autoprefixer support for ie10 #81
Comments
this should be fixable, give me a day or so. I'll try to think of a workaround too. |
given { justifyContent: 'space-between' } is this the expected css? .css-1178gq1,[data-css-1178gq1] {
justify-content:space-between;
-webkit-justify-content:space-between;
-ms-flex-pack:justify;
-webkit-box-pack:justify;
} |
I think this is correct for IE10 but IE11 will pick up -ms-flex-pack too and needs another value (space-between) instead. This seems to be a IE10/IE11 bug. |
From the looks of it, ie11 doesn't require prefixes? |
Yes this is correct, but if there is -ms-flex-pack (maybe as the last entry) IE11 will pick up this instead. That's our observation. Will verify it this evening. :) |
Okay it is the other way around. Something went wrong in IE10 Glamor style is
I think |
could you have a try with 2.20.3 and let me know? |
oh wait I think I understand you now. IE11 will pick up ms flex pack along with justify-content. hmm. |
This is turning out to be rather messy. The problem here is that I need to maintain the ability to generate all the css on the server side, which means this might still break when server rendered. I'm open to ideas. What do other folks in production do for this scenario? some media query hack to wrap the value? |
I've had to revert again to the previous behavior because it was causing problems. My best idea right now is to hand code exceptions per browser inside css hacks. I'll think about this and get back to this issue. |
recommended workaround is to whack out the plugins, and add your own prefixer with required behavior. likely that this issue won't be fixed in glamor itself for now. |
Hi @threepointone,
we are targeting IE10&11 in our current project. I assume your autoprefixer fork supports
flexbox
only for IE 11 upwards.To be more specific: the current flex standard uses
justify-content: space-between
but the old draft implemented in IE10 uses-ms-flex-pack: justify
.Current result in IE10 / Desired result in IE11:
Desired result in IE10:
Any chances to get this in or to workaround this issue?
See this issue for more information:
postcss/autoprefixer#165 (comment)
Thanks 👍
The text was updated successfully, but these errors were encountered: