-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Angular 9 Backward Compatibility for CSS Grids in IE 11 #17041
Comments
As a workaround you can use the following comment instead |
Thanks @alan-agius4 ! That was pretty quick. |
… in scss Change Scss output style to `expanded` as otherwise sass will remove comments that are needed for autoprefixer when webpack is in prod mode because of the following implementation in `sass-loader`: See: https://github.com/webpack-contrib/sass-loader/blob/45ad0be17264ceada5f0b4fb87e9357abe85c4ff/src/getSassOptions.js#L68-L70 Fixes #17041
… in scss Change Scss output style to `expanded` as otherwise sass will remove comments that are needed for autoprefixer when webpack is in prod mode because of the following implementation in `sass-loader`: See: https://github.com/webpack-contrib/sass-loader/blob/45ad0be17264ceada5f0b4fb87e9357abe85c4ff/src/getSassOptions.js#L68-L70 Fixes #17041 (cherry picked from commit d29d403)
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
🐞 bug report
Affected Package
Backward Compatibility for CSS Grids in IE 11Is this a regression?
Yes, It wasn't an issue in Angular 8Description
I have an Angular 8 application which uses CSS Grids. It was compatible with IE 11, Chrome 79+ and Mozilla Firefox 70+.Recently upgraded the app to Angular 9.
I have set browserslist to include IE 9-11, and had turned on autoprefixer in the component's scss file like
/* autoprefixer grid: autoplace */
as suggested in [Angular Documentation](Angular 9 Backward Compatibility for CSS Grids in IE 11).When built in prod mode using

ng build --prod
vendor prefixes were not generated for IE 11.But, when I added a configuration for
es5
and served withng serve --configuration es5
vendor prefixes were generated and application was rendered exactly as in Chrome.🔬 Minimal Reproduction
https://github.com/srajkumarms/ie11-grid-support🌍 Your Environment
Angular Version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: