I'm getting a lot of warning ins my project about grid-auto-flow not beeing supported in IE. As the application I'm build will not run in IE at all and we display another page that tells the user to use another browser and we have excluded IE prefixes through browserlist this warnings don't make much sense, as many other things also would not work because of missing IE prefixes.
And from reading https://nealbuerger.com/2018/01/the-end-of-life-of-internet-explorer-11/ recently I think we should discourage developing for IE 11 to speed up retirement of IE 11.
You probably have the grid setting enabled.
Though it's odd that you are receiving warnings if you have explicitly stated that you are not supporting IE in your browser list settings ๐
grid option.result.warnings./* autoprefixer grid: off */ control comment. The code is ready.Ooooh I didn't know about the /* autoprefixer grid: off */ control comment. That's a great idea! ๐
@ai I think there might still be an issue here. If the user has explicitly set in their browser settings to not support IE or the older versions of Edge but for whatever reason the grid setting is enabled, we should not be outputting grid translations or warnings.
@DaSchTour can you show Autoprefixer version from npm ls and your Browserslist config?
Well. I guess I'll have to wait till angular-cli updates ๐
โโโฌ @angular-devkit/[email protected]
โโโ [email protected]
"browserslist": [
"> 1%",
"last 3 versions",
"not dead",
"not ie <= 11"
]
@DaSchTour Add not ie_mob <= 11 to hide warnings
@Dan503 thanks to note it
So it looks like this now
"browserslist": [
"> 1%",
"last 3 versions",
"not dead",
"not ie <= 11",
"not ie_mob <= 11"
],
But that didn't help. But I suspect that's because of the old version.
Ping me in issue, when you ask angular-cli team to update Autoprefixer
@ai have you tested that the current build does not output warnings when grid is set to true but IE support is set to false in the browser list?
Yeap, we fixed this issue
Most helpful comment
gridoption.result.warnings./* autoprefixer grid: off */control comment. The code is ready.