I am working on a Angular project wherein I have used Angular Material components (mainly md-Buttons). The application shows various tiles each one of which is md-Button. At a time I will probably have 20-30 tiles max. These tiles are repeated using ng-repeat
.
The application works good enough on Chrome, however on IE11, I am facing rendering issue regularly. Rendering takes around 5-6 seconds. Toggling tiles display works poorly. Scrolling screen leads to the components sticking and then moving after say 1 sec.
Probably I guess Angular Material is too heavy for IE11. Is there something I can do to speed up things on IE11 as this is my primary target browser?
I have tried:
None of the above seems to have much effect.
I think Angular material is a good library and there must be something that can be done to improve its working in IE11. Please can someone suggest something effective?
By default, Angular compiles ES6 or ES7. IE 11 only supports ES5.
Angular Material components help in constructing attractive, consistent, and functional web pages and web applications while adhering to modern web design principles like browser portability, device independence, and graceful degradation. It helps in creating faster, beautiful, and responsive websites.
Angular CLI applications require a few more steps in order to support Internet Explorer. The good news: It's really simple: un-comment a few imports and install a couple of npm packages.
We are also working on angular project and we are facing performance troubles with Internet Explorer 11.
I found this bug on github that helped me : https://github.com/angular/material/issues/1771
Solution: In the last version 0.11.1 they worked on layout display issues for Internet Explorer so I just updated to angular material to v0.11.1 and added this line to my angular config JavaScript file :
$provide.constant('$MD_THEME_CSS', '/**/');
The performance improved for Internet Explorer 11.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With