I am trying to run the angular application in Microsoft Edge browser(created build ng build --prod), but the application is opening in compatibility mode: IE 11. If I run the application locally(command - ng serve) the application is behaving correctly (opening in edge browser without any compatibility mode), Please suggest if there any configuration changes/code change required for the production build.
Asked
Active
Viewed 983 times
0
-
You can check whether your app is using ` ` or not. Further, try to add ``. I want to confirm with you whether your site is hosted on the intranet? It can cause this behavior. also, let us know which exact version of the Edge browser you are using for making this test? – Deepak-MSFT Nov 26 '20 at 03:10
-
Yes there is and tags added in index.html file. Site is hosted on live web server. I am using Edge 85.0.564.44(Offical build)(64-bit) – Sanjay Phadtare Nov 26 '20 at 06:22
-
We can see that you are using the Edge Chromium browser and the site gets opened with the IE 11 mode. It can be possible that the site is added to the **Enterprise mode site list**. I suggest you check the site list file and if your site is listed there then try to remove it from the list may help to fix the issue. To find the location of the site list file check this [group policy](https://docs.microsoft.com/en-us/deployedge/edge-ie-mode-policies#configure-using-the-configure-the-enterprise-mode-site-list-policy). [Reference](https://docs.microsoft.com/en-us/deployedge/edge-ie-mode-sitelist) – Deepak-MSFT Nov 26 '20 at 08:31
-
Thanks Deepak, will verify suggested setings. – Sanjay Phadtare Nov 26 '20 at 09:43
-
Let us know whether the suggestion works for you or not. – Deepak-MSFT Nov 27 '20 at 02:05