Closed usman-aziz closed 6 years ago
@usmanazizgroupdocs
Thank you for sharing the details.
Please use ".style.cssText = " instead of ".style = " for all occurrences in "/Content/App.js". We have updated source code with same solution. You can also get latest version and tryout the fix.
This issue was originally raised via forum topic: https://forum.groupdocs.com/t/modern-front-end-on-internet-explorer/5788/5
When running the application in Internet Explorer 11, we get an unhandled exception on line 531 of app.js saying "JavaScript runtime error: Assignment to read-only properties is not allowed in strict mode". We get rid of the exception when changing the assignment method from:
element[0].style = "height:" + parseInt(height) + "px!important; width:100%!important; ";
to:element[0].setAttribute("style", "height:" + parseInt(height) + "px!important; width:100%!important; ");
However, with this change, the zoom feature stops working. Please check.